1. Write a Java class named Student with three data members of your choice. You should provide all constructors, get/set methods, and a display member method which displays values of all data members. You should create a driver class to test the Student class. Test your code and take screenshots. How do you track the total number of Student objects?

2. Add a static data field named numberOfStdents. Now create some Student objects. Verify how this static data member helps you track the total number of objects by running some tests. Take screenshots.

3. Create a Student object array with suitable initial values in the main method of the driver class. Write a displayArray method in the driver class which receives the array from the main method and displays its data members. Take screenshots.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.