🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Object Relationships: all 10 questions

Quiz: Object Relationships · Question 4 of 10

In UML, a filled (black) diamond on a line means:

In UML, a filled (black) diamond on a line means:

  1. A.Association
  2. B.Aggregation
  3. C.Composition
  4. D.Inheritance
Answer & explanation

Correct answer: Composition

Filled diamond = composition; hollow diamond = aggregation.

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 →