_______ is the ability of an object to take on many forms in OOP.

  • Abstraction
  • Encapsulation
  • Inheritance
  • Polymorphism
Polymorphism is the ability of an object to take on many forms. In object-oriented programming (OOP), it allows objects of different types to be treated as objects of a common type, providing flexibility and extensibility in code design.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *