Multiple choice

_____refers to an object's ability to behave differently depending on its type

  1. Polymorphism

  2. Inheritance

  3. Abstraction

  4. Data hiding

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

Polymorphism allows objects of different types to respond to the same method call in different ways. Option B (Inheritance) is the mechanism enabling polymorphism but not the behavior itself. Abstraction (Option C) hides complexity, and Data Hiding (Option D) encapsulates private members.