polymorphism

All Questions

Asked by: Zoha Tazmen

What is polymorphism in OOP?

Answers (1)

Polymorphism allows objects of different classes to be treated as objects of a common superclass. The most common use is when a subclass provides a specific implementation of a method that is already defined in the superclass.

Answered by: Zoha Tazmen

Your Answer