Multiple choice

What allows a class to have multiple implementations of the same behaviour?

  1. Polymorphism

  2. Abstraction

  3. Aggregation

  4. Inheritance

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

Polymorphism allows objects to be treated as instances of their parent class, enabling different classes to provide their own specific implementation of a method defined in a common interface or superclass.