Multiple choice

What can a temporary connection between two classes be called?

  1. Aggregation

  2. Dependency

  3. Inheritance

  4. Overloading

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

A dependency represents a temporary relationship where one class uses another class, often as a parameter in a method or a local variable.