Multiple choice

Polymorphism refers to

  1. hiding of data

  2. binding of data with its methods

  3. using the features of one class in other classes

  4. using a function in different ways

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

Polymorphism allows a single interface to represent different underlying forms. A function can behave differently based on the object type it operates on, enabling flexible and extensible code through method overriding and overloading.