文件名称:student
-
所属分类:
- 标签属性:
- 上传时间:2014-05-22
-
文件大小:691byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
(一)写一个类,用来存储和操作学生信息。
1. 学生信息包括:学号、姓名、性别、出生日期、院系
2. 需要两种构造器:默认构造器和有参数的构造器
3. 需要各个属性的get和set方法
(二)写一个应用程序,测试这些构造器和方法
参考:仿照附录的Person类和课本P51应用程序例题的写法。-(a) write a class, students used to store and manipulate information.
1. The student information including: student id, name, sex, date of birth, and departments
2. Need two constructors: default constructor and parameter of the constructor
3. Need to get and set methods for each attribute
(2) write an application to test these constructors and methods
Reference: modelled on the appendix of the Person class and textbooks written P51 application examples.
1. 学生信息包括:学号、姓名、性别、出生日期、院系
2. 需要两种构造器:默认构造器和有参数的构造器
3. 需要各个属性的get和set方法
(二)写一个应用程序,测试这些构造器和方法
参考:仿照附录的Person类和课本P51应用程序例题的写法。-(a) write a class, students used to store and manipulate information.
1. The student information including: student id, name, sex, date of birth, and departments
2. Need two constructors: default constructor and parameter of the constructor
3. Need to get and set methods for each attribute
(2) write an application to test these constructors and methods
Reference: modelled on the appendix of the Person class and textbooks written P51 application examples.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
student.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.