- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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.
Advertisements