MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

SOFTWARE ENGINEERING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A generalization is a ____ in Relationship of uml.
A
is a specialization/generalization relationship in which the specialized element (the child) builds on the specification of the generalized element (the parent).
B
is a semantic relationship between classifiers, wherein one classifier specifies a contract that another classifier guarantees to carry out.
C
element
D
diagram
Explanation: 

Detailed explanation-1: -In UML modeling, a generalization relationship is a relationship in which one model element (the child) is based on another model element (the parent).

Detailed explanation-2: -Specialization is the reverse process of Generalization means creating new subclasses from an existing class. Specialization is the process of dividing a parent-level entity into narrower categories accordingly to all the possible child categories.

Detailed explanation-3: -Generalization is also called as a parent-child relationship.

Detailed explanation-4: -Generalization describes the inheritance relationship of the object-oriented world. It is a parent and child relationship. Generalization is represented by an arrow with a hollow arrow head as shown in the following figure.

There is 1 question to complete.