Multiple choice technology programming languages

Which feature allows one interface to be used for general class actions?

  1. Polymorphism

  2. Inheritance

  3. Encapsulation

  4. Both a &b

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

Polymorphism allows one interface to represent a general class of actions, where specific implementations can vary while the interface remains consistent. This is a core OOP principle enabling flexible, reusable code.