0
721views
Differentiate between aggregation and association.

Subject: Object Oriented Modeling and Design

Difficulty: Medium

Marks: 8 Marks

1 Answer
0
6views
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.
Please log in to add an answer.