Publicis Sapient interview question

what is polymorphism in oops?

Interview Answer

Anonymous

12 Jul 2024

Polymorphism is a concept in programming where one function, method, or object can take many forms. It allows you to use a single interface to represent different underlying data types or methods, making your code more flexible and reusable.