Question: Please write in java. just java please Consider classes in detail lecture we covered, implement a similar application to the one we see in section
Please write in java. just java please
Consider classes in detail lecture we covered, implement a similar application to the one we see in section 8.11 (static class members). In this practice we created an Employee class to represent an employee object. You are expected to create a very similar application but rather than employees, you will create Student objects. Your student class will have ID, FirstName, LastName fields, and a static count to keep track of number of students. Provide setters and getters for each variable and then provide a static method called getCount to return the static variable. In main, ask the user in a loop to create student objects. Until the user says no, you should create objects and in the end, you display student information and student count. So it should look like: Would you like to enter student information? > Yes What is the ID? > 2134 What is the first name? > Susan What is the last name? > Baker Student created. Do you want to add another student? > No Number of students: 1 Student 1: 2134 - Susan Baker
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
