文件名称:student
-
所属分类:
- 标签属性:
- 上传时间:2014-05-18
-
文件大小:1.79kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
假定根据学生的5门学位课程的分数决定其是否可以拿到学位,对于本科生,如果5门课程的平均分数超过60分即表示通过,而对于研究生,则需要3门课平均分超过80分并且论文60分才能够通过。
根据上述要求,请完成以下Java接口和类:
(1)设计一个接口Passable,其中约定判断学生成绩是否通过的方法。
(2)设计一个描述本科生的类Undergraduate,该类实现接口,给出判断成绩是否通过的方法的实现。
(3)设计一个描述研究生的类Graduate,该类实现接口,给出判断成绩是否通过的方法的实现。
(4)学生成绩存放在文件如score1.txt中,从文件中读取数据,
-Assumed based on student scores five degree programs determine whether you can get a degree for undergraduates, if the average score five courses over 60 minutes means that through, and for graduate students, the course requires 3 points average over 80 Articles 60 and able to pass.
According to the above requirements, please complete the following Java interfaces and classes:
(1) Design an interface Passable, which agreed method for determining whether student achievement through.
(2) a descr iption of the design Undergraduate undergraduate class, the class that implements the interface, given the results to determine whether the implementation of the method adopted.
(3) a descr iption of the design class Graduate graduate, class implements an interface, given the results achieved to determine whether the method adopted.
(4) student achievement as score1.txt stored in the file, the data is read from the file,
根据上述要求,请完成以下Java接口和类:
(1)设计一个接口Passable,其中约定判断学生成绩是否通过的方法。
(2)设计一个描述本科生的类Undergraduate,该类实现接口,给出判断成绩是否通过的方法的实现。
(3)设计一个描述研究生的类Graduate,该类实现接口,给出判断成绩是否通过的方法的实现。
(4)学生成绩存放在文件如score1.txt中,从文件中读取数据,
-Assumed based on student scores five degree programs determine whether you can get a degree for undergraduates, if the average score five courses over 60 minutes means that through, and for graduate students, the course requires 3 points average over 80 Articles 60 and able to pass.
According to the above requirements, please complete the following Java interfaces and classes:
(1) Design an interface Passable, which agreed method for determining whether student achievement through.
(2) a descr iption of the design Undergraduate undergraduate class, the class that implements the interface, given the results to determine whether the implementation of the method adopted.
(3) a descr iption of the design class Graduate graduate, class implements an interface, given the results achieved to determine whether the method adopted.
(4) student achievement as score1.txt stored in the file, the data is read from the file,
(系统自动生成,下载前可以参看下载内容)
下载文件列表
STU/Graduate.java
STU/Passable.java
STU/StudentDemo.java
STU/Undergraduate.java
Graduate.txt
result.txt
UnderGraduate.txt
STU
STU/Passable.java
STU/StudentDemo.java
STU/Undergraduate.java
Graduate.txt
result.txt
UnderGraduate.txt
STU
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.