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

Using JAVA 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.

Write a program that creates a contact list using an array. The program should contain two classes, a Contact.java class which has the following fields, name, number, and address. The second class, MyContacts.java should present the user with the following options: Add, Remove, Change Order, Print, and Exit. The Add option should allow the user to enter in a new contact (name, number, and address) to the end of the list. The Remove option should print the contact list with its array index. Once a user selects an index, the contact will be deleted from the array and the other items will be moved to fill the spot. The Change Order option will print the contact list with the array index order. The user will be able to enter the numbers. The first number will be the contact they want to move and the second number will be the index to where the first item will be moved. The second contact will be moved to the index of the first. The Print option will print the contact list with the array index and the Exit option will terminate the program.

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!