文件名称:student
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2014-05-18
- 文件大小:
- 2kb
- 下载次数:
- 2次
- 提 供 者:
- 倪*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
假定根据学生的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
...\Passable.java
...\StudentDemo.java
...\Undergraduate.java
Graduate.txt
result.txt
UnderGraduate.txt
STU