In an object-oriented development framework for a university, how would the classes Degree, Mathematics, and Physics be related?
A) Mathematics and Physics would be ancestors to Degree.
B) Math, Physics and Degree are sister classes.
C) Degree would be a sister class to Mathematics and Physics.
D) Degree would be a subclass to Mathematics and Physics.
E) Degree is a superclass to Mathematics and Physics.

Respuesta :

Answer:

E) Degree is a superclass to

Mathematics and Physics.

Explanation:

A superclass is that characteristic class from which many subclasses branch. The subclasses takes the characteristics of a superclass.

This heirachy helps in organising achievements in programming development framework — here classification of various subjects as data or Objects is the focus instead of representing subjects as functions.

Answer:E) Degree is a superclass to Mathematics and Physics.

Explanation: Object oriented programming development is a programming development framework which classifies various subjects as data or Objects rather than focusing or representing them as functions. Object-Oriented methods tries organise the Objects or data with the aim of Establishing the relationship between each of the Objects or data. The object oriented framework will clarify DEGREE AS A SUPERCLASS WHEN COMPARED TO MATHEMATICS AND PHYSICS WHICH ARE SUBJECTS.

ACCESS MORE
EDU ACCESS