News

Aggregation is a weak form of association that implies a part-of relationship between classes. For example, a car has wheels, but the wheels are not owned by the car and can exist independently.
Remember that aggregation and composition are both subsets of association. In both aggregation and composition, an object of one class can be the owner of an object of another class.
- Definition: Association represents a relationship between two or more classes where they can communicate with each other. It is depicted by a straight line. - Multiplicity: It can show multiplicity ...
Aggregation in javaaggregation in java can be defined as relationship between two classes in which one class contain reference of another class therefore aggregation represent has-a relationship. an ...
Association relationship is a structural relationship in which different objects are linked within the system. It exhibits a binary relationship between the objects representing an activity.It is ...