-
设计一个学生类,学生类中应包括学号,姓名,语文成绩,数学成绩,英语成绩,同时还要提供两个方法,一个方法计算总成绩,一个方法计算平均成绩。
现在有一个文本文...
设计一个学生类,学生类中应包括学号,姓名,语文成绩,数学成绩,英语成绩,同时还要提供两个方法,一个方法计算总成绩,一个方法计算平均成绩。
现在有一个文本文件,该文件有若干行,每一行存放着某个学生的数据,包括:学号,姓名,语文成绩,数学成绩,英语成绩。数据与数据之间用空格隔开,例如:
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编写的个人信息辅助工具 十分完整 十分强大-Written using Java is a complete personal information very powerful auxiliary tool
- 2022-05-08 14:02:40下载
- 积分:1
-
used to achieve the drawing program
用java实现的画图程序-used to achieve the drawing program
- 2022-06-30 03:31:22下载
- 积分:1
-
Java反射机制剖析。里面有关于Java反射很详细的讲解。
Java反射机制剖析。里面有关于Java反射很详细的讲解。-Analysis of Java reflection mechanism. There are on the Java reflection to explain in great detail.
- 2022-11-26 17:25:03下载
- 积分:1
-
Using java to write the RS interleaver algorithm is mainly encoded in rs before...
用java写的RS算法的交织器,主要是在进行rs编码之前,对源数据进行交织。交织参数207,48-Using java to write the RS interleaver algorithm is mainly encoded in rs before the source of data are intertwined. Intertwined parameters 207,48
- 2022-01-21 05:44:18下载
- 积分:1
-
网龙仿阿里巴巴程序源码(java版) v2.5.rar
网龙仿阿里巴巴程序源码(java版) v2.5.rar-Network Liuzhou imitation procedures Alibaba source (java version) v2.5.rar
- 2022-02-21 07:24:47下载
- 积分:1
-
递归算法求一个有向图的强连通分量,输入格式如压缩包中data4.txt,第一行为顶点个数。输出到result.txt中。...
递归算法求一个有向图的强连通分量,输入格式如压缩包中data4.txt,第一行为顶点个数。输出到result.txt中。-recursive algorithm for a directed graph strongly connected component, the input format such as compression package data4.txt. the first acts of the number of vertices. Result.txt exported to China.
- 2022-02-03 23:01:37下载
- 积分:1
-
用Java编写的手写数字识别器源代码。能够对手写数字有很好的识别能力。经过试验,适应性还是比较强的...
用Java编写的手写数字识别器源代码。能够对手写数字有很好的识别能力。经过试验,适应性还是比较强的-Using Java prepared handwritten numeral recognizer source code. Able to handwritten numeral recognition has a very good. After testing, adaptation is still relatively strong
- 2022-07-14 01:26:16下载
- 积分:1
-
Struts TagLib详细教程。
Struts TagLib详细教程。-Struts TagLib detailed handbook.
- 2022-01-25 16:46:37下载
- 积分:1
-
a calculator
一个java计算器-a calculator
- 2022-05-10 11:15:55下载
- 积分:1