Vidyalelo
PHP · Q113

Object Oriented Concept

Programming · PHP · question 113

Q113

Inheritance in class diagrams is depicted by________

A.
single-headed empty arrow
Answer
B.
single-headed filled arrow
C.
double-headed empty arrow
D.
double-headed filled arrow

Answer: Option A

Solution

Answer: Option A
Solution:
The UML describes the inheritance relationship as generalization. This relationship is signified by a line leading from the subclass to its parent. The line is tipped with an empty closed arrow.