program to create the super class Person that holds a person’s

program to create the super class Person that holds a person’s
information. make child class (e.g. Student/NBAPlayer/USPresident..) with
its own class-level variables that are not applicable to the parent.
Add a Driver class with main() function where you populate 2 instances of the
parent class, and 2 more for the child class. Print the values assigned to each
class’s fields. All class member variables must be declared as private. You
may provide getters and setters to class variables, however, only use
constructors (ctors) to set the instances values. Provide overloaded ctors with
at least a default ctor, and a ctor that will set all the class variables at once.
Each class is to have minimum of 3 variables

Complete Answer:

Get Instant Help in Homework Asap
Get Instant Help in Homework Asap
Calculate your paper price
Pages (550 words)
Approximate price: -
Open chat
1
Hello 👋
Thank you for choosing our assignment help service!
How can I help you?