A strong whole-part ownership relationship where child objects CANNOT exist independently of their parent container (e.g., Building and Rooms) is:
AAggregation
BAssociation
CRealization
DComposition
Explanation
Composition is a strong whole-part association; if the container object is destroyed, all child components are also destroyed.
Exam Relevance
- Topic: Object-Oriented Design
- Subtopic: UML Relationships

No Comments