java 继承分为_6 实验四java 继承与多态 高校人员分为教师和学生等类别 联合开发网 - pudn.com...

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

近期下载者:

相关文件:

收藏者:

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值