Question: I want to do this program using JAVA language 1. Define a class Student which extends Person defined in class. It adds the attributes Int

I want to do this program using JAVA language  I want to do this program using JAVA language 1. Define

1. Define a class Student which extends Person defined in class. It adds the attributes Int Testl, test2, test3 Double average String grade Define a constructor which takes all the attributes of person and uses a default value of 0 for the test scores, "unknown" for grade and 0 for aversge. It has methods computeaverage0 and calculategrade(). The grades are based on the average, with above 92 an A, 85 to 92 a B, 70 to 85 a C, 60 to 70 a D etc. Grades only has a getter. All other attributes have a setter and a getter. 2. Write an application that uses an array of type student of size 20. The program prompts the user for the name of a text file and reads from the file to start the program. Then it gives a menu. 1. Enter a student 2. List the names of all the students 3. Enter the test scores for a student specified by name 4. Find the grade of a student s. Quit 3. When the user quits the students are written to the text

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!