Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write the following java application. *Please provide a code that allows the app to save data to a text file upon quitting. 1. Define a
Write the following java application.
*Please provide a code that allows the app to save data to a text file upon quitting.
1. Define a class Student which extends Person. It adds the attributes Int Testl, test2, test3 Double average String grade It has methods computeaverage) and calculategrade0. The grades are based on the average, with above 90 an A, 80 to 90 a B, 70 to 80 a C etc. All other attributes have a set and a get. 2. Write an application that uses an array of type student of size 20. The program uses a menu that has options 1. Enter the Students 2. Enter grades for test 1 3. Enter grades for test 2 4. Enter grades for test 3 5. Calculate Grades 6. List all Students final grades. 7. Quit The application saves the data to a text file upon quitting and restores the data when it restarts
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started