Multiple choice technology web technology

What is the representation of inheritance in an UML class diagram?

  1. An open headed arrow pointing to the inheriting class

  2. A closed headed arrow pointing to the inheriting class

  3. A closed headed dashed arrow pointing to the parent class

  4. . A closed headed arrow pointing to the parent class

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

In UML class diagrams, inheritance is represented by a generalization relationship, symbolized by a solid line with a hollow, closed arrowhead pointing from the inheriting subclass to the parent superclass. Open head arrows are used for association, and dashed lines represent realization.