Create a java class person with following data members. Age: SHOULD BE VISIBLE TO ALL CLASSES. Name: SHOULD BE VISIBLE ONLY INSIDE THE CLASS AND TO INHERITED (DERIVED) CLASSES OF PERSON. Derived a...




  1. Create a java class person with following data members.




  1. Age: SHOULD BE VISIBLE TO ALL CLASSES.


  2. Name: SHOULD BE VISIBLE ONLY INSIDE THE CLASS AND TO INHERITED (DERIVED) CLASSES OF PERSON.




  1. Derived a class student from Person and add one data member name of the school (That should be visible to all the classes in the application).




Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here