← Quiz: Software Design and UML: all 10 questions
Quiz: Software Design and UML · Question 3 of 10
A Room cannot exist without its House. In UML this is:
A Room cannot exist without its House. In UML this is:
- A.Aggregation (hollow diamond)
- B.Composition (filled diamond)
- C.Dependency
- D.Inheritance
Answer & explanation
Correct answer: Composition (filled diamond)
The part's lifetime depends on the whole, which is composition.
Can you get the rest right without peeking?
Take the timed Quiz: Software Design and UML quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →