Question: Please complete both the in class and the homework java programs Class Work: Write a parent class for a Person. A Person has a name

Please complete both the in class and the homework java programs Please complete both the in class and the homework java programs Class

Class Work: Write a parent class for a Person. A Person has a name and citizenship. Then write a child class Student. A Student is a. Person and has a school. Make sure each class has a toString method and an equals method. Write a test class to demonstrate the capabilities of the clisses. Homework Ilomework E-1: Write a class for a School. Use a School object in the Student class from the work above. A School has a name, a state, and a principal (who is a Person but not a Student). Write a toString method for the School class. Note that, a School is not a child class of either Person or Student.. This means that you will not be using cxtends in defining School. Write a driver app that defines ia School nimed Glenbrook North High School (Illinois). The Principal is Ed Rouncy and Perris Bueller is a student. Create a second school that Andie Walsh sttends

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!