Question: In context of OOP, what is association?
- Association is a relationship where all objects have their own life cycle and there is no owner.
- Association is the process where model elements cooperate to provide higher-level behavior.
- Association is whole/part relationship where one object is composed of one or more other objects, each of which is considered a part of the whole.
- Association is where all objects have their own life cycle, but there is ownerhip, and child objects can not belong to another parent object.
Answer: The correct answer of the above question is Option A:Association is a relationship where all objects have their own life cycle and there is no owner.