Pakistan's best MCQs practice hub — FPSC · PPSC · CSS · NTS · Other Exams
Login

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
Submitted by: mcqstutor Team More Software Engineering MCQs →

No Comments

Leave a comment

Your email address will not be published. Required fields are marked *