What is the ability of an object to take multiple forms called in OOP?

Options

  • A. Encapsulation
  • B. Polymorphism
  • C. Inheritance
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

B. Polymorphism

Detailed Explanation

Explanation: Polymorphism means one interface or method name can represent different behaviours. It is commonly implemented through method overloading and method overriding.