Student inheritance hierarchy draw an inheritance hierarchy


Question: (Student Inheritance Hierarchy) Draw an inheritance hierarchy for students at a university similar to the hierarchy shown in Fig. Use Student as the base class of the hierarchy, then include classes Under graduate 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.

412_2.jpg

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Student inheritance hierarchy draw an inheritance hierarchy
Reference No:- TGS02405806

Now Priced at $10 (50% Discount)

Recommended (94%)

Rated (4.6/5)