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

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

于 2022-01-28 发布 文件大小:1.24 kB
0 324
下载积分: 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 个回复

  • it is about JVM fuctionality and how the jvm works
    it is about JVM fuctionality and how the jvm works
    2022-04-20 12:00:31下载
    积分:1
  • functional presentations : management articles, published an article raising the...
    功能介绍: 文章管理,发表文章时增加了常用的多媒体功能,每篇文章都生成了HTML技术!能批量删除文章及文章评论。增加了摘要,在首页上显示的就是摘要,主要是关于文章的一些精华部分,或者为什么写这文章等等。 图片管理,你的靓照尽情的发布吧。展示你的个性,并可以对其进行回复!并可以增加分类。满足你欣赏不同图片风格。可以进行批量删除。 音乐功能,增加音乐分,批量删除。可以进行回复。 链接管理,可以首页推荐链接,也可以进行分类。 自由栏目,开设了十个栏目,你可以设置它是否显示,另外增加了外部链接。比如你发了篇文章觉得还行,你可以在自由栏目上给一个这篇文章的地址. 模板管理:你可以在后台设置你的CSS样式,以文章模板样式! 后台地址:login.asp 初始用户名:msmax.cn 初始密码:msmax.cn -functional presentations : management articles, published an article raising the common multimedia functions. every article has generated HTML technology! Batch can delete articles and comments on the article. Increase the summary, the front page is displayed on the summary of the article is mainly on the part of some essence, or why write this article, and so on. Photo management, your Liangzhao full release it. Display your personality, and its response can! And can increase the classification. Meet you appreciate different picture style. Batch can be deleted. Music functions, increase music, the mass deletion. Can
    2022-03-20 17:44:56下载
    积分:1
  • 这是一个关于java界面编程的例子,它是我的老师上课是用的例子。...
    这是一个关于java界面编程的例子,它是我的老师上课是用的例子。-This is a programming interface for java example, it is my teacher in the class is an example.
    2023-03-31 03:15:04下载
    积分:1
  • 简单的劳保管理系统, 简单的劳保管理系统
    简单的劳保管理系统, 简单的劳保管理系统-A simple labor management system, a simple labor management system, a simple labor management system
    2022-11-06 12:50:04下载
    积分:1
  • ArcObject的二次开发包,有助于GIS的二次开发初学者使用
    ArcObject的二次开发包,有助于GIS的二次开发初学者使用-ArcObject secondary development package to help the secondary development of GIS for beginners to use
    2022-03-25 02:32:13下载
    积分:1
  • 利用jsp开发的,网上书店。界面好,功能比较全面
    利用jsp开发的,网上书店。界面好,功能比较全面-Use jsp development, on-line bookstore. Good interface, features a more comprehensive
    2022-02-05 23:18:48下载
    积分:1
  • 至少有五个数排序和冒泡排序
    at least five number sort and use bubble sort to implement in Java.
    2022-04-15 21:02:18下载
    积分:1
  • 创建jbuttons和测试它。
    Creating JButtons.And test it
    2022-03-22 04:30:23下载
    积分:1
  • J++类库参考手册
    J++类库参考手册-J library reference manual
    2023-02-02 04:35:04下载
    积分:1
  • java用户登陆是否成功
    java用户登陆是否成功-landing success
    2022-03-13 18:53:56下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载