Association
Relationship between two objects (one to one, one to many, many to many etc)
Aggregation
Aggregation is a kind of association, which refers Has a relationships.
Example: Building has a room
Composition
It is a kind of Aggregation but when an object contains another object the contained object cannot exists without the container object




No comments:
Post a Comment