Which UML term pair captures complementary ways of looking at a relationship?
A . include / extend
B . use / implement
C . dependency / trace
D . aggregation / composition
E . generalization / specialization
Answer: D
Explanation:
The UML term pair that captures complementary ways of looking at a relationship is "aggregation / composition". Both terms describe types of associations between classes but differ in the degree of ownership and lifecycle dependency between the involved objects. Aggregation implies a weaker relationship where the parent class contains or is linked to other classes but does not strictly control their lifecycle (e.g., a university and its students). Composition, on the other hand, implies a stronger relationship where the parent class has full responsibility for the lifecycle of the associated classes (e.g., a house and its rooms). Understanding these relationships helps model systems more accurately in terms of object ownership and lifecycle management.
Latest OMG-OCUP2-FOUND100 Dumps Valid Version with 270 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund