+ 1
What is association?
2 Respostas
+ 4
Is this a "What is" bombardment?! 8D
If you Google them you can easily find the answers!
How to post a minimal, complete, and verifiable question in SL's term.
" Here are some tips to make sure your question qualifies:
- Post only programming-related QUESTIONS and ANSWERS;
- SEARCH for similar QUESTIONS or ANSWERS before posting;
- Include relevant TAGS;
- Follow community RULES: https://www.sololearn.com/Content-Creation-Guidelines/
DO NOT
- Post spam/advertisement;
- Use inappropriate language.
* Post general discussions and open-ended questions in your feed.
** In case of an assignment, providing a code snippet is mandatory."
+ 1
Association is a relationship where all object have their own lifecycle and there is no owner. Let’s take an example of Teacher and Student. Multiple students can associate with a single teacher and a single student can associate with multiple teachers but there is no ownership between the objects and both have their own lifecycle. These relationship can be one to one, One to many, many to one and many to many.