文件名称:GraduateTest
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.44kb
-
已下载: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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.