Question: Write a program in Eclipse that inputs the names, addresses and GPAs of at least five students from the user. Your program must be able

Write a program in Eclipse that inputs the names, addresses and GPAs of at least five students from the user. Your program must be able to store and manipulate the first name and last name, the GPA, the students current address, home address and phone number.
2. Your program needs to include the following classes:
a. Application class that drives the program instantiating other classes and including the main method, prints the user interface etc. Name this class Application.
b. A Student class representing the student and student data. In addition to the name and other listed information above, you should also allow for both a current address and a home address. Name the class Student. The student class contains all of the information about one student. It will have getters and setters to return the information as well as a toString method to return all of the information as one string. (See the Zybook chapter for information on the toString method.)
c. A StudentRoster class that contains the array of student objects and other functionality you deem necessary such as adding an instance of a Student to the roster, returning the array, reading from disk and writing to disk. Name the class StudentRoster. The StudentRoster class should have methods to print one student and to print the roster of students.
d. If you like, you can include a class that manages the menu. Most people will simply do this in the main method in the Application class, but its up to you.
3. Here is the user functionality required. You will design appropriate menus.
a. Enter student information for new students
b. Print the student roster.
c. Enter a student name and search for and print information for a particular student
d. Save the student roster to disk
e. Read the student roster from disk
f. Exit the program
4. Here is the general flow of control in the program:
a. Instantiate a new object of type StudentRoster.
b. When a user inputs a new student, you instantiate a new student class object with the new student information and call a method in StudentRoster to add the new student to the roster.
5. The program must include at least the three classes with constructors, getters and setters along with methods implementing the required functionality. Each class must contain a toString() method that returns the data in the class as a string.
LAB: Alphabetical order (chars) java

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 Programming Questions!