← Quiz: Object Relationships: all 10 questions
Quiz: Object Relationships · Question 5 of 10
A Doctor treats Patients; both exist independently. This is:
A Doctor treats Patients; both exist independently. This is:
- A.Composition
- B.Inheritance
- C.Association
- D.Encapsulation
Answer & explanation
Correct answer: Association
They interact but neither owns the other.
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 →