What is difference between aggregation and association?
Christopher Snyder
Updated on May 09, 2026
.
Subsequently, one may also ask, what is difference between aggregation and composition?
In both aggregation and composition object of oneclass "owns" object of another class. But there is a subtledifference: Aggregation implies a relationship wherethe child can exist independently of the parent. Compositionimplies a relationship where the child cannot exist independent ofthe parent.
Subsequently, question is, which is the strongest class relationship? Note that generalization is the strongest form ofclass relationships as the classes participating in ageneralization relationship are tightly coupled with eachother -- most of the internal intricacies of the parentclass are visible to the child class.
Beside above, what is Association and its types?
An association type (also called anassociation) is the fundamental building block fordescribing relationships in the Entity Data Model (EDM). In aconceptual model, an association represents a relationshipbetween two entity types (such as Customer and Order).
What is aggregation in object oriented programming?
Aggregation is a special form of association. Itis a relationship between two classes like association, however itsa directional association, which means it is strictly a one wayassociation. It represents a HAS-A relationship.
Related Question Answers