登录
首页 » Java Develop » 设计一个学生类,学生类中应包括学号,姓名,语文成绩,数学成绩,英语成绩,同时还要提供两个方法,一个方法计算总成绩,一个方法计算平均成绩。 现在有一个文本文...

设计一个学生类,学生类中应包括学号,姓名,语文成绩,数学成绩,英语成绩,同时还要提供两个方法,一个方法计算总成绩,一个方法计算平均成绩。 现在有一个文本文...

于 2022-01-28 发布 文件大小:1.24 kB
0 346
下载积分: 2 下载次数: 1

代码说明:

设计一个学生类,学生类中应包括学号,姓名,语文成绩,数学成绩,英语成绩,同时还要提供两个方法,一个方法计算总成绩,一个方法计算平均成绩。 现在有一个文本文件,该文件有若干行,每一行存放着某个学生的数据,包括:学号,姓名,语文成绩,数学成绩,英语成绩。数据与数据之间用空格隔开,例如: 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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • aFont scripts of Java programs! !
    aFont字体显示的Java小程序-aFont scripts of Java programs! !
    2022-07-21 01:32:58下载
    积分:1
  • 本人也是一名JAVA的初学者,才学了一个月,因为有朋友需要做毕业设计,于是我花了十天时间写了这个超市进销存的软件,由于网上这类软件用JAVA写的几乎没有,有源代...
    本人也是一名JAVA的初学者,才学了一个月,因为有朋友需要做毕业设计,于是我花了十天时间写了这个超市进销存的软件,由于网上这类软件用JAVA写的几乎没有,有源代码的更是少的可怜,于是我就想把自己写的代码发上来和大家学习交流一下.-I am also a JAVA beginner, talent and learning for a month, because of the need to have a friend graduating from design to do, so I spent 10 days time to write the supermarket Invoicing software, such as a result of online software written in JAVA with virtually no , active code is少的可怜, so I want to write their own code onto fat and learn about everyone.
    2022-09-22 06:25:03下载
    积分:1
  • java教学讲义
    java教学讲义-java Teaching Materials
    2022-02-02 01:05:52下载
    积分:1
  • A java class that uses DES to encript images
    A java class that uses DES to encript images
    2022-06-11 16:49:47下载
    积分:1
  • Nibbles Klon, with a Leveleditor!!!
    Nibbles Klon, with a Leveleditor!!!
    2023-08-04 05:30:03下载
    积分:1
  • Three java src,query IP,request max number,encrypt.study for beginner.
    java的三个源代码,IP的查询,求最大值,加密三个例子,供初学者学习用.-Three java src,query IP,request max number,encrypt.study for beginner.
    2022-02-26 14:41:06下载
    积分:1
  • 一个免费的CA,基于EJB平台的,老师叫我们测试,现把之共享出来让大家参考...
    一个免费的CA,基于EJB平台的,老师叫我们测试,现把之共享出来让大家参考-a free CA, EJB-based platform, the teacher asked us to test,"s share is now out for our reference
    2022-04-24 13:11:06下载
    积分:1
  • javaweb开发资料,非常全面,很不错的。
    javaweb开发资料,非常全面,很不错的。-ajax Quick Start Guide for beginners, very good.
    2022-03-06 15:05:03下载
    积分:1
  • mail server platform. Support for the agreement. The agreement can be amended fo...
    java 开发的邮件服务器平台。支持以下协议。 协议可以修改为自己的专门标识,这个版本绝对能用,我自己的邮件服务器就是使用这个开源项目,修改后架设的,据说21cn也是用这个引擎开发的邮件系统。SMTP转发的时候需要二次开发。 Item Status Since First released SMTP server Stable 1.0 0.95 Mailet Engine Stable 1.2 0.95 FileSystem mailboxes/spool Stable 1.2 1.0 RDBMS mailboxes/spool Stable 1.2 1.2 POP3 server Stable 1.1 1.0 RDBMS - Users Stable 1.2.1 1.2.1 LDAP Support - Users Experimental 1.2 1.2 TLS Support - POP3 Experimental 1.2 1.2 Remote Manager Stable 1.0 1.0 TLS Support - Remote Manager Stable 1.2 1.2 NNTP server Experimental 1.2 1.2 FetchPOP Experimental 2.1 2.1-mail server platform. Support for the agreement. The agreement can be amended for its own specific logo, this version definitely can use that my own mail server is the use of the open-source projects, the revised set up, and is said to USA also using this engine developed mail system. SMTP forward when needed secondary development. Item Status Since First released SMTP server Stable Mailet Engine 1.0 0.95 1.2 0.95 Stable FileSystem ma
    2022-04-16 07:08:25下载
    积分:1
  • Station
    JAVASCROPT网页特效全站,请各位高人多多指教-Station-wide effects JAVASCROPT page, please a lot of expert advice
    2022-05-28 01:45:33下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载