Question: For JAVA. We need to create Student class for show an student object. This student class need ID, First Name, Last Name and static count

For JAVA. We need to create Student class for show an student object. This student class need ID, First Name, Last Name and static count for keep track of number of students. Each variables need setters and getters and static method for getCount.

For main, ask to the user for loop to create students objects. If users say no, objects need to end and show student informations and counts. Like

Do you want to write student info? > Yes ID? > 1352 First Name? > Winston Last Name? > Skywalker
Student created. Want to another student? > No
Number of students: 1 Student 1: 1352 - Winston Skywalker

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!