Polymorphism allows us to perform a single action in different ways . In other words, polymorphism allows you to define one interface and have multiple implementations. The word “poly” means many and “morphs” means forms, So it means many forms.14 Ara 2021
Why do we use polymorphism in Java?
Polymorphism allows us to perform a single action in different ways . In other words, polymorphism allows you to define one interface and have multiple implementations. The word “poly” means many and “morphs” means forms, So it means many forms.14 Ara 2021