Draw an Inheritance hierarchy for students at a university similar to the hierarchy as shown in the Figure below. (Attached) Use Student as the superclass of the hierarchy, then extend Student with classes UndergraduateStudent and GraduateStudent. Continue to extend the hierarchy as deep (i.e., as many levels) as possible. For example, Freshman, Sophomore, Junior and Senior might extend UndergraduateStudent. DoctoralStudent and MastersStudent might be subclasses of GraduateStudent. After drawing the hierarchy, discuss the relationships that exist between the classes.

Management, Loose-Leaf Version
13th Edition
ISBN:9781305969308
Author:Richard L. Daft
Publisher:Richard L. Daft
Chapter5: Managing Ethics And Social Responsibility
Section: Chapter Questions
Problem 2OTJVC
icon
Related questions
Question
100%

Q4:

Draw an Inheritance hierarchy for students at a university similar to the hierarchy as shown in the Figure below. (Attached)

Use Student as the superclass of the hierarchy, then extend Student with classes UndergraduateStudent and GraduateStudent. Continue to extend the hierarchy as deep (i.e., as many levels) as possible. For example, Freshman, Sophomore, Junior and Senior might extend UndergraduateStudent. DoctoralStudent and MastersStudent might be subclasses of GraduateStudent. After drawing the hierarchy, discuss the relationships that exist between the classes.

[Note: You do not need to write any code for this question]

 

CommunityMember
Employee
Student
Alumnus
Faculty
Staff
Administrator
Teacher
Transcribed Image Text:CommunityMember Employee Student Alumnus Faculty Staff Administrator Teacher
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Introduction to Supply chain management
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, operations-management and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Management, Loose-Leaf Version
Management, Loose-Leaf Version
Management
ISBN:
9781305969308
Author:
Richard L. Daft
Publisher:
South-Western College Pub