New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

OMG-OCUP2-FOUND100 Exam - Topic 8 Question 42 Discussion

Actual exam question for OMG's OMG-OCUP2-FOUND100 exam
Question #: 42
Topic #: 8
[All OMG-OCUP2-FOUND100 Questions]

Choose the correct answer:

Which UML term pair captures complementary ways of looking at a relationship?

Show Suggested Answer Hide Answer
Suggested Answer: D

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.


Contribute your Thoughts:

0/2000 characters

Currently there are no comments in this discussion, be the first to comment!


Save Cancel