5
When I asked here on composition and aggregation I was thinking that any association between two objects fell into these categories (not counting inheritance). But then in the answer I saw that there is the call simple association. I looked it up on the Internet and most of what I thought was how to represent it in UML instead of exactly what this type of association represents.
Looking at Wikipedia I saw the following
Associating: is the mechanism by which one object uses the resources of another. It may be a simple association "uses a" or a "part of" coupling. For example: A human uses a telephone. Key "1" is part of a telephone
So, instead of being a part/whole relationship as in the aggregation and composition relations, a simple association is a use relationship? I thought use relations were represented by aggregations, since in these types of associations the part exists independent of the whole, so I was confused.
So what simple association really is and how it differs from other forms of object-oriented association?
good answer +1
– BrTkCa