6
所属分类:Java编程
开发工具:Java
文件大小:8KB
下载次数:2
上传日期:2019-12-16 13:24:35
上 传 者:yzheqer
说明: 实验四java 继承与多态
高校人员分为教师和学生等类别,一个教师可以教多门课程,一门课程可以有多个教师教:
一个学生需要学习多门课程,一门课程也会有多个学生学习。学期末,会记录学生每门课的
成绩,同时每个学生需要对所学课程的教师教学进行评分。
就上述问题:
1定义一个教师类,除了拥有高校人员的属性,还有工号,教师级别(如教授、副教授、讲
师、助教、高级实验师、实验师、助理实验室),所属院系,所属教研室等属性。
2定义一个学生类,除了拥有高校人员的属性,还有学号,所在院系,所在专业,所在班级,
入学成绩等信息。
3编写一个教师课程类,记录教师和课程的对应关系。
4编写一个学生成绩类,记录学生和教师课程的对应关系,添加属性记录成绩和学生对该门
课程的教学评学。
(University personnel are divided into teachers and students. A teacher can teach multiple courses, and a course can have multiple teachers to teach:
A student needs to learn more than one course, and there will be more than one student in one course. At the end of the term, students will be recorded
At the same time, each student needs to grade the teacher's teaching.
On the above issues:
To define a teacher class, in addition to the attributes of university personnel, there are also job numbers and teacher levels (such as Professor, associate professor, lecturer
Teachers, teaching assistants, senior experimenters, experimenters, assistant laboratories), departments, teaching and research departments, etc.
2 to define a student class, in addition to the attributes of university personnel, there are student numbers, departments, majors and classes,
Information such as enrollment results.)
文件列表:[举报垃圾]
6\addStudent.class, 3506 , 2019-11-17
6\addTeacher.class, 3224 , 2019-11-17
6\e6.class, 326 , 2019-11-17
6\e6.java, 10758 , 2019-11-17
6\myframe.class, 2562 , 2019-11-17
6\queryStudent.class, 2059 , 2019-11-17
6\queryTeacher.class, 2059 , 2019-11-17
6\student.class, 1815 , 2019-11-17
6, 0 , 2019-11-17
近期下载者:
相关文件:
收藏者: