Explanation: The figure is self explanatory. A component is a modular, significant and replaceable part of the system that packages implementation and exposes a set of interfaces. 4. What type of relationship is represented by Shape class and Square ?
A. Realization
B. Generalization
C. Aggregation
D. Dependency
Answer:A
Explanation: The figure is self explanatory. A component is a modular, significant and replaceable part of the system that packages implementation and exposes a set of interfaces. 4. What type of relationship is represented by Shape class and Square ?
A. Realization B. Generalization C. Aggregation D. Dependency
Explanation: The generalization relationship is also known as the inheritance relationship. In the figure Square is the sub class of super class shape.