← Quiz: Object Relationships: all 10 questions
Quiz: Object Relationships · Question 2 of 10
An Order has OrderItems that make no sense without the order. This is:
An Order has OrderItems that make no sense without the order. This is:
- A.Composition
- B.Aggregation
- C.Association
- D.Inheritance
Answer & explanation
Correct answer: Composition
The parts are owned and die with the whole — composition.
Can you get the rest right without peeking?
Take the timed Quiz: Object Relationships quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →