我在尝试设置此类时遇到错误找不到符号 - 构造函数客户。
public class PersonalCustomer extends Customer
{
public PersonalCustomer(String accountNumber, Address address, Name name)
{
super(accountNumber, address);
name = name;
}
}
下面是类客户。
public abstract class Customer
{
private String accountNumber;
private Address address;
private int balance;
private char customerType;
public Customer(String accountNumber, Address address, char customerType)
{
accountNumber = "";
address = address;
balance = 0;
customerType = ' ';
}
任何人都可以在我出错的地方提供帮助吗?