Question: Create a project to model students with firstname, lastname, age, gender and student number. Create two constructors, one to be used as default and another
Create a project to model students with firstname, lastname, age, gender and student number. Create two constructors, one to be used as default and another to include all attributes. Add a class attribute to keep count of all registered students. Use the class attribute to generate student numbers with the following format 22201XYZ, where XYZ is the current count provided by the class attribute. Implement the respective getters and setters for each attribute. Now given a list of student information
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
