Question: Write a program that reads in a student file and creates Student.java objects with the following fields: first name, last name, GPA, and student ID.

Write a program that reads in a student file and creates Student.java objects with the following fields: first name, last name, GPA, and student ID. The objects will be stored in an array of Students in a class named StudentSearcher.java. Provide the user with a list of possible student IDs to search from. When a user enters in a student ID, the program will search the array and display the found student's GPA. The program will continue to search students until the user exits the program.

*The answer to this question that is already posted is not helpful because it is using techniques that we have not learned yet. (i.e. saving a file to another drive, super(), @Override, FileNotfound exception, SENTINEL. Thank you for any help.

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!