10 2017 档案
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.
阅读全文
摘要:1. 设计一个Windows应用程序,在该程序中首先构造一个学生基本类,在分别构造小学生、中学生、中职生、大学生等派生类,要求具有不同的特征和行为,能通过静态成员自动记录不同的学生人数。 参考界面如下: (1)修改一些控件的属性。 (2)核心代码如下: using System; using Sys
阅读全文
摘要://账户子类
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;
}
阅读全文

浙公网安备 33010602011771号