Which UML relationships should be used between a subclass and a superclass? For example, suppose there is an interface or abstract class Employee and a class HourlyEmp loyee which inherits from it. Choose all that apply. ? a. Realization b. Aggregation C. Generalization d. Composition e. Bidirectional f. Unidirectional ? g. None of these

Respuesta :

Answer:

C. Generalization

Explanation:

The relationship between subclass and superclass is generalization. For example there will be generalization between the class Employee and class HourlyEmployee which inherits from it. All the other options are not suitable.