Question: Create a Person class with private instance variables for the person's name and birth date. Add appropriate accessor methods for these variables. Then create a

Create a Person class with private instance variables for the person's name and birth date. Add appropriate accessor methods for these variables. Then create a subclass CollegeGraduate with private instance variables for the student's GPA and year of graduation and appropriate accessors for these variables. Don't forget to include appropriate constructors for your classes. Then create a class with a main) method that demonstrates your classes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
