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 :