Question: Create a program that gets 5 students information from the user. Each students information is used to create an instance of Student class. Student Class

Create a program that gets 5 students information from the user. Each students information is used to create an instance of Student class. Student Class has the following attributes: o ID, first name, last name and email

Student class has the following methods Student constructor - accepts 4 parameters (ID, first name, last name and email) getInfro method accepts no parameter, returns strings that shows: ID, first name, last name and email separated by comma.

The student objects are then stored in a Studetn array

Loop through the array and print each student's info to the console screen.

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!