Question: Create a class called Student that stores the information for each student. Create an ArrayList called StudentRecords in your main that contains a list of

Create a class called Student that stores the information for each student.
Create an ArrayList called StudentRecords in your main that contains a list of Student objects
Create a displayAllStudents method in the main that displays all the students in the list.
Create the following functionality in your main that does the following:
Creates a few Student objects and add to the ArrayList - does not require user input.
Calls the displayAllStudents method to display all the students in the list.

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!