文件名称:GraduateTest
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- 李*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
个人原创代码:老师、学生、研究生学费和工资管理程序。编写Java Application程序,学校中有老师和学生两类人,而在职研究生既是老师又是学生,对学生的管理和对教师的管理在他们身上都有体现。
1)设计两个信息管理接口StudentManageInterface和TeacherManageInterface。其中,StudentInterface接口包括setFee()方法和getFee()方法,分别用于设置和获取学生的学费;TeacherInterface接口包括setPay()方法和getPay()方法,分别用于设置和获取教师的工资
2) 定义一个研究生类Graduate,实现StudentInterface接口和TeacherInterface接口,它定义的成员变量有name(姓名)、sex(性别)、age(年龄)、fee(每学期学费)、pay(月工资)。
3) 创建一个姓名为“zhangsan”的研究生,统计他的年收入和学费,如果收入减去学费不足2000元,则输出“provide a loan”(需要贷款)信息。-Personal original code: teachers, students, graduate tuition and wage management procedures.To write java application program, teachers and students two types of people in the schools, postgraduate is a teacher and students, the management of students and teachers of management is reflected in their possession.
1) design information management the interface StudentManageInterface TeacherManageInterface. The interface StudentInterface setFee () method and getFee () method, were used to set and get tuition interface TeacherInterface including setPay () method and getPay () method, were used to set up and access to teachers wages
2) the definition of a graduate class Graduate the StudentInterface interface and TeacherInterface interface, which defines the member variable name (name), sex (gender), age (age), fee (per semester), pay (monthly salary).
3) Create a name for "zhangsan graduate statistics of his annual income and tuition income minus tuition less than 2000 yuan, output to
1)设计两个信息管理接口StudentManageInterface和TeacherManageInterface。其中,StudentInterface接口包括setFee()方法和getFee()方法,分别用于设置和获取学生的学费;TeacherInterface接口包括setPay()方法和getPay()方法,分别用于设置和获取教师的工资
2) 定义一个研究生类Graduate,实现StudentInterface接口和TeacherInterface接口,它定义的成员变量有name(姓名)、sex(性别)、age(年龄)、fee(每学期学费)、pay(月工资)。
3) 创建一个姓名为“zhangsan”的研究生,统计他的年收入和学费,如果收入减去学费不足2000元,则输出“provide a loan”(需要贷款)信息。-Personal original code: teachers, students, graduate tuition and wage management procedures.To write java application program, teachers and students two types of people in the schools, postgraduate is a teacher and students, the management of students and teachers of management is reflected in their possession.
1) design information management the interface StudentManageInterface TeacherManageInterface. The interface StudentInterface setFee () method and getFee () method, were used to set and get tuition interface TeacherInterface including setPay () method and getPay () method, were used to set up and access to teachers wages
2) the definition of a graduate class Graduate the StudentInterface interface and TeacherInterface interface, which defines the member variable name (name), sex (gender), age (age), fee (per semester), pay (monthly salary).
3) Create a name for "zhangsan graduate statistics of his annual income and tuition income minus tuition less than 2000 yuan, output to
(系统自动生成,下载前可以参看下载内容)
下载文件列表
本Java程序设计详细要求.txt
GraduateTest.java
GraduateTest.java