Question: In context of OOP, what is association?

  1. Association is a relationship where all objects have their own life cycle and there is no owner.
  2. Association is the process where model elements cooperate to provide higher-level behavior.
  3. 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.
  4. 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.