Description
(Student Inheritance Hierarchy) (Activity -1)
(2 marks activity)
Use Student as the base class of the hierarchy, then include classes Undergraduate_ Student and Graduate_Student that derive from Student. Continue to extend the hierarchy as deep (i.e., as many levels) as possible. For example, Freshman, Sophomore, Junior and Senior might derive from Undergraduate_Student, and Doctoral_Student and Masters_Student might derive from Graduate_Student. After drawing the hierarchy, discuss the relationships that exist between the classes.
[Note: You do not need to write any code for this exercise.]




Reviews
There are no reviews yet.