0
What is association in c++?
answer of the question: 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 single teacher and single student can associate with multiple teachers but there is no ownership between the objects and both have their own lifecycle. Both can create and delete independently.
2 odpowiedzi
+ 3
If you're going to copy & paste from StackExchange, make sure to cite your sources: https://softwareengineering.stackexchange.com/questions/176049/what-is-the-use-of-association-aggregation-and-composition
0
In C/C++ domain modeling class diagrams, an association is a structural relationship that indicates that objects of one classifier, such as a class and interface, are connected and can navigate to objects of another classifier.