Association:

  • It represents a relationship between two or more classes where each class has its own lifecycle, and there is no ownership.
  • Example: A Library class can be associated with a Book class where the library contains multiple books.

Comments

Leave a Reply

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