联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp

您当前位置:首页 >> javajava

日期:2019-02-03 11:16

Create a Student Comma Separated Value (CSV) text file (students.txt) file, where each line will contain data for instantiating a single Student object.


Derive Student class from a Person class with the following person attributes:

1. ID

2. age

3. first name

4. last name


Derive a Student class from the Person class (inherit from Person) with the following Student attributes:


1. StudentID

2. GPA



100 TOTAL POINTS:


Requirements:

1. 10 points: Eclipse Java SE project named Project1 with main method ONLY in class Driver, Object Oriented Design is required so main method will use Classes or Objects to control the overall program execution.


2. 10 points Code, Compile with no errors using Object Oriented Design a Person class, i.e. design a useful Person class with useful methods and programmed in ‘Person.java’.


3. 10 points Code, Compile with no errors using Object Oriented Design a Student class, i.e. design a useful Student class with useful Student methods and inherited Person methods and programmed? in ‘Student.java’.


4. 20 points Code, Compile with no errors using Object Oriented Design a method (or methods) in the Student class for parsing a Student CSV string and creating a Student object, i.e. design a useful Student class with useful Student methods for parsing and programmed? in ‘Student.java’.


4. 20 points Code, Compile with no errors using a File Utility class, i.e. design a useful FileUtility class with useful methods for reading and writing files and programmed in ‘FileUtil.java’.


5. 20 points Execution: Run your compiled program with Console Output: Show the state (i.e. all data) for 4 Students and a 1 Teacher object, e.g. show: Student name, age, GPA and Teacher name, age and wage. Cut and paste your console output (text) at the end of your main function as a comment


6. 10 points Submission: Submit ON TIME your entire eclipse workspace (single .zip file) named workspace-your-name-eclipseVersion-javaPerson1.


版权所有:留学生程序网 2020 All Rights Reserved 联系方式:QQ:99515681 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。