In an object-oriented development framework for a university, how would the classes Degree, Mathematics, and Physics be related?

In an object-oriented development framework for a university, how would the classes Degree, Mathematics, and Physics be related?




A) Degree would be a sister class to Mathematics and Physics.
B) Degree is a superclass to Mathematics and Physics.
C) Mathematics and Physics would be ancestors to Degree.
D) Degree would be a subclass to Mathematics and Physics.


Answer: b


Learn More :