Question OOP-CLS-0059
MediumA House has Rooms, and the Rooms are created and destroyed with the House. Which relationship is this?
- A.
Inheritance
- B.
Aggregation
- C.
Association only
- D.
Composition
Sign up free to see the answer and a step-by-step explanation.