1.

Inheritance in class diagrams is depicted by________(a) single-headed empty arrow(b) single-headed filled arrow(c) double-headed empty arrow(d) double-headed filled arrowThe question was asked during an interview.My question comes from Object and Design-2 topic in portion Object Tools and Design and Variables in PHP of PHP

Answer»

The correct ANSWER is (a) single-headed empty arrow

To explain: The UML describes the INHERITANCE relationship as a generalization. This relationship is signified by a line leading from the subclass to its PARENT. The line is TIPPED with an empty closed arrow.



Discussion

No Comment Found

Related InterviewSolutions