0
566views
Differentiate between aggregation and association.
written 5.3 years ago by | • modified 2.3 years ago |
Subject: Object Oriented Modeling and Design
Difficulty: Medium
Marks: 8 Marks
ADD COMMENT
EDIT
1 Answer
written 5.3 years ago by | • modified 2.3 years ago |
Subject: Object Oriented Modeling and Design
Difficulty: Medium
Marks: 8 Marks
written 2.3 years ago by |
Aggregation | Association |
---|---|
Aggregation having a part and whole relationship. | Association having relationship in two or more classes. |
They are flexible in nature. | They are not flexible means inflexible in nature. |
Diamond shape adjacent to the assembly class. | Here only, single line segment are there in between the components. |
It is a type of association means is dependable on association. | It is not dependable on aggregation. |
It is an unidirectional relationship. | It is a bidirectional relationship. |
It describes the “has-a” relationship between two objects. | It describes a relationship between two objects. |