Multiple choice technology programming languages

Reusability can be achieved through?

  1. Inheritance

  2. Composition

  3. Association

  4. All of these options

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Association is a relationship between classes where objects interact but neither owns the other, enabling reusability through collaboration. Inheritance and composition are also reusability mechanisms, but the question seems to focus on association as a form of reusability through inter-class collaboration without ownership.