0

What does mean by POLYMORPHISM in Java

23rd Feb 2017, 6:27 PM
saif ali
saif ali - avatar
4 Respuestas
+ 6
Yes. Method overriding, annotation @Override.
23rd Feb 2017, 6:57 PM
Tashi N
Tashi N - avatar
+ 4
Preet, you can overload methods without inheritance, see e.g. https://code.sololearn.com/cJmmki0zu8Fv/?ref=app
24th Feb 2017, 9:17 AM
Tashi N
Tashi N - avatar
+ 2
being able to do more than one thing. multiple uses
23rd Feb 2017, 6:50 PM
Michael Szczepanski
Michael Szczepanski - avatar
+ 2
Polymorphism it is of two type :- (1) Method Overloading (2) Method Overriding =>METHOD OVERLOADING Method that is inherited and is redefined in child class, with same name and same signature but with different parameters/arguments is called "Method Overloading". =>METHOD OVERRIDING Method that is inherited and is redefined in child class, with same name and same signature is called "Method Overriding".
24th Feb 2017, 9:13 AM
Preet Patel
Preet Patel - avatar