Difference Between Link and Association

Computer ProgrammingProgrammingMiscellaneous

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.

raja
Published on 23-Mar-2021 07:56:12
Advertisements