摘要:
//账户子类
protected String name;
protected String accountid;////帐号
protected int number;//身份证号码
protected Double balance;//余额
protected String starttime;//开户时间
public account(String accountid){
// TODO Auto-generated constructor stub
this(accountid,null,null,0,0);
}
//构造方法
public account(String accountid,String name,String starttime,int number,double balance){
this.accountid = accountid;
this.name=name;
this.starttime=starttime;
this.number=number;
this.balance=balance;
} 阅读全文