packagecn.itcast_01;publicclassStudent{//成员变量privateStringname;privateintage;//构造方法publicStudent(){super();}publicStudent(Stringname,intage){super();this.name=name;this.age=age;}//成员方法//getXxx()/setXxx()publicStringgetName(){returnname;}publicvo..
分类:
编程语言 时间:
2016-04-27 22:54:03
阅读次数:
472