116 Student Inheritance Hierarchy Draw Inheritance Hierarchy Students University Similar H Q37038896

11.6 Student Inheritance Hierarchy) Draw an inheritance hierarchy for students at a university similar to the hierarchy shown

11.6 Student Inheritance Hierarchy) Draw an inheritance hierarchy for students at a university similar to the hierarchy shown in Fig 11.2. Use Student as the base class of the hierarchy, then in- clude classes UndergraduateStudent and GraduateStudent 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 Undergraduates tudent, and DoctoralStudent and Masters- Student might derive from GraduateStudent. After drawing the

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.