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

Quiz: UML Class Diagrams · Question 4 of 10

A line with a hollow triangle pointing at Vehicle from Car means:

A line with a hollow triangle pointing at Vehicle from Car means:

  1. A.Car extends Vehicle
  2. B.Vehicle extends Car
  3. C.Car has a Vehicle
  4. D.Car uses Vehicle briefly
Answer & explanation

Correct answer: Car extends Vehicle

The triangle points at the more general type (the parent).

Can you get the rest right without peeking?

Take the timed Quiz: UML Class Diagrams quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →