Using polymorphism we can reduce maintenance of the system. It can achieve using * Method Overloading and * Method Overriding.
Anonimo
27 dic 2018
Polymorphism is a ability to take multiple forms.
Poly means Many and morphism means forms.
Inheritance : Without modifying existing class if we want to extend meaning of the class then we should use inheritance.
-Parent class known as Super class and Child class known as Sub class.
- To create sub class we should use "extend" keyword.
Anonimo
16 dic 2019
Polymorphism means one name multiple form...
Poly stands for many and morph stands for form, interface,etc.