-
设计一个学生类,学生类中应包括学号,姓名,语文成绩,数学成绩,英语成绩,同时还要提供两个方法,一个方法计算总成绩,一个方法计算平均成绩。
现在有一个文本文...
设计一个学生类,学生类中应包括学号,姓名,语文成绩,数学成绩,英语成绩,同时还要提供两个方法,一个方法计算总成绩,一个方法计算平均成绩。
现在有一个文本文件,该文件有若干行,每一行存放着某个学生的数据,包括:学号,姓名,语文成绩,数学成绩,英语成绩。数据与数据之间用空格隔开,例如:
001 张三 85 90 98
设计一个java应用程序,从文本文件中读取数据,构造这些学生对象,然后按找总成绩从高到低的顺序输出到另外一个文本文件中,每个学生的数据占一行,数据与数据之间用空格隔开,输出顺序为:
学号,姓名,语文成绩,数学成绩,英语成绩,总成绩,平均成绩
例如
001 张三 85 90 98 273 91-Design a student class, student class should include Student ID, name, language achievement, mathematics achievement, English achievement, while also providing two methods, a method of calculating the total score, a method of calculating grade point average.
There is now a text file, the file number of lines, each line of data storage with a student, including: Student ID, name, language achievement, mathematics achievement, English achievement. Between the data and the data separated by spaces, for example:
001 Zhang San 859,098
Design a java application that read data from a text file to construct these students object, and then find the total score accordin
- 2022-01-28 15:26:05下载
- 积分:1
-
一个简单JAVA程序的原码,功能简单,但已验证过,可以正常运行.
一个简单JAVA程序的原码,功能简单,但已验证过,可以正常运行.-A simple JAVA program
- 2022-04-30 00:05:30下载
- 积分:1
-
CORBA分布式编程一个简单实例
CORBA分布式编程一个简单实例-a simple example
- 2022-04-22 18:10:33下载
- 积分:1
-
hiberrnate demo
hiberrnate demo
- 2022-12-12 07:25:03下载
- 积分:1
-
jsp下中国式复杂报表的设计及应用
包括Cell插件JSP中读取和保存数据库的代码示例,需要安装用友华表软件技术有限公司的Cell插件后才能正常观看,请先下...
jsp下中国式复杂报表的设计及应用
包括Cell插件JSP中读取和保存数据库的代码示例,需要安装用友华表软件技术有限公司的Cell插件后才能正常观看,请先下载Cell插件。
-jsp complex statements under the Chinese-style design and application, including JSP plug-Cell and preservation of the database read the code examples, need to install software UFIDA Hua Technology Co., Ltd. Table of Cell can plug a normal watch, please download the plug-Cell.
- 2022-01-25 21:20:57下载
- 积分:1
-
配置JSP环境,配置ACCESS数据源,数据源名称Andy。初始用户名密码:admi...
配置JSP环境,配置ACCESS数据源,数据源名称Andy。初始用户名密码:admi-JSP environment configuration, configuration ACCESS data sources, data source name Andy. Initial users Password : admi
- 2022-02-05 15:38:58下载
- 积分:1
-
java编的俄罗斯方块
java编的俄罗斯方块-java series of Rubik"s cube
- 2023-04-24 15:10:04下载
- 积分:1
-
exercise6的大难,说归说的访问哦宋德福我上的佛为 大富翁
exercise6的大难,说归说的访问哦宋德福我上的佛为 大富翁-exercise6 the disaster, said that his visit to the Song Oh my Buddha for Monopoly
- 2022-03-03 19:01:12下载
- 积分:1
-
转换成ASCII十六进制
Convert ASCII to HEX
- 2022-02-20 17:29:01下载
- 积分:1
-
java实现的文件移动,主要用到开源的upload项目,用在磁盘上文件在不同目录地址的移动...
java实现的文件移动,主要用到开源的upload项目,用在磁盘上文件在不同目录地址的移动-achieve file movement, the main use of open-source projects upload, with the files on the disk directory addresses mobile
- 2022-11-14 05:45:03下载
- 积分:1