文件名称:ScoreManager
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2013-11-05
- 文件大小:
- 6kb
- 下载次数:
- 0次
- 提 供 者:
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
利用数组类型编写一个管理学生成绩的应用程序,让计算机来管理全班同学的“Java语言”课程成绩。要求得到全班的最高分和最低分,并将全班同学的成绩从高到低排序后输出。
提示:可将现实世界中全班学生这一实体概念定义为类Students。并让该类包含重要属性“全班的成绩清单”,相关行为包括对成绩的排序、统计、查找等。
一个Students类的对象实例对应着现实世界中的一个班级,由于不同班级的人数与成绩都不一样,可以将全班的成绩清单设计为Students类的构造方法参数,在创建每一个班级的对象实例时确定该班级的成绩清单。
至于如何输入成绩清单,如何排序后输出,这些与用户交互的程序不宜放在Students类中。可以引入ScoreManager完成与用户的交互,该类利用Students对象的行为完成对全班成绩的排序、统计与查找功能。
-The use of an array type to write a student performance management application that allows a computer to manage the whole class "Java language" course grades. Requirements are the highest class and lowest scores, and the whole class results in descending sorted output.
Tip: You can be the real world students in the class definition of the concept of this entity class Students. And let the class contains important attribute "class achievements list" performance-related behavior including sorting, statistics, search and so on.
An instance of the object class Students in the real world corresponds to a class, because the number of different classes and grades are not the same, you can score the class list is designed to Students class constructor parameters, create each instance of the object class results when determining the class list.
As for how to enter grades list, how to sort the output of these programs that interact with the user should not be placed Students class. Can introd
提示:可将现实世界中全班学生这一实体概念定义为类Students。并让该类包含重要属性“全班的成绩清单”,相关行为包括对成绩的排序、统计、查找等。
一个Students类的对象实例对应着现实世界中的一个班级,由于不同班级的人数与成绩都不一样,可以将全班的成绩清单设计为Students类的构造方法参数,在创建每一个班级的对象实例时确定该班级的成绩清单。
至于如何输入成绩清单,如何排序后输出,这些与用户交互的程序不宜放在Students类中。可以引入ScoreManager完成与用户的交互,该类利用Students对象的行为完成对全班成绩的排序、统计与查找功能。
-The use of an array type to write a student performance management application that allows a computer to manage the whole class "Java language" course grades. Requirements are the highest class and lowest scores, and the whole class results in descending sorted output.
Tip: You can be the real world students in the class definition of the concept of this entity class Students. And let the class contains important attribute "class achievements list" performance-related behavior including sorting, statistics, search and so on.
An instance of the object class Students in the real world corresponds to a class, because the number of different classes and grades are not the same, you can score the class list is designed to Students class constructor parameters, create each instance of the object class results when determining the class list.
As for how to enter grades list, how to sort the output of these programs that interact with the user should not be placed Students class. Can introd
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ScoreManager
............\.classpath
............\.project
............\bin
............\...\ScoreManager.class
............\...\Students.class
............\src
............\...\ScoreManager.java
............\...\Students.java