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...


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.

Nov 21, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here