Aggregation:

  • It is a special form of association where one class contains references to one or more other classes, but the referenced objects can exist independently.
  • Example: A University class can have an aggregation relationship with a Department class, where a department can exist independently of the university.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *