0
7.6kviews
Define following terms with notations : (i) Association end names. (ii) Generalization

Subject: Object Oriented Modeling and Design

Difficulty: Medium

Marks: 4 Marks

1 Answer
0
265views

(i) Association end names:

An association end names is a name that uniquely identifies one end of an association. It specifies a role of an object of a class which it plays in the association. An association end names is written next to the association line near the class that plays the role.

Notation:

enter image description here

(ii) Generalization: Generalization is a relationship between a class and one or more derived classes of it. Generalization organizes classes by their similarities & differences, structuring the description of objects. The class being derived is called a super class and its derived classes are called as sub classes. Each sub class is said to “inherit” the features of super class. This property is called as inheritance .The super class holds common attributes, operations and association; the subclasses can add specific attributes, operations &associations.

Notation: A large hollow arrow head denote generalization. The arrow head points to the super class.

enter image description here

Please log in to add an answer.