Difference Between Link and Association


In this post, we will understand the difference between Link and Association.

Link

  • It can be understood as the physical connection between objects.

  • It helps tell about the relationship among objects.

  • It is represented using line segment between objects.

  • They can’t be referenced.

  • It is used in UML designs.

Association

  • It is a specification about the collection of links.

  • The connections are related to classes.

  • It is a general relationship between classes.

  • They are implemented using programming languages as a reference model.

  • It shows connections between classes using line segments.

  • It is used in UML designs.

Updated on: 23-Mar-2021

8K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements