← Tech dictionaryLearn it properlyOOP tutorials — free, with diagrams, quizzes and a certificate
Programming & OOP
What is Polymorphism?
Polymorphism means one interface with many implementations: the same method call behaves differently depending on the object’s actual type. Compile-time polymorphism is method overloading; runtime polymorphism is method overriding.
Example
shape.area() calls Circle.area() or Square.area() depending on which object shape refers to.