student

所属分类:Java编程
开发工具:Java
文件大小:2KB
下载次数:3
上传日期:2014-05-18 13:24:14
上 传 者lemonmf
说明:  假定根据学生的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 description 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 description 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 (415, 2013-11-26)
STU\Passable.java (136, 2013-11-26)
STU\StudentDemo.java (1566, 2013-11-26)
STU\Undergraduate.java (342, 2013-11-26)
Graduate.txt (59, 2013-11-26)
result.txt (28, 2013-11-26)
UnderGraduate.txt (73, 2013-11-26)
STU (0, 2014-05-18)

近期下载者

相关文件


收藏者