what is polymorphism?

Answer Posted / sumalatha

HI,
POLYMORPHISM is very good fature...in oops mainly
polymorphism means manyforms..that is by using polymorphism
with the same name signature
but either a different number of parameters or different
types in the parameter list..it is colled methodover
loading.Another one is Overridding...it is also very usful
for us..by using this u can use in Baseclass and
DerivedClass same mathodname..with diffarent body is
possibul..but we use override keyword

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is singleton in java?

598


Does google use java?

530


What will be the default values of all the elements of an array defined as an instance variable?

549


What are latest features introduced with java 8?

586


What are exception handling keywords in java?

603






Explain the selection sort algorithm and state its time complexity?

603


Differentiate between postfix and prefix operators in java.

634


What are reference variables in java?

592


What is sizeof in java?

555


what is heap memory?

654


Is it possible to compare various strings with the help of == operator?

546


How do you escape sequences in java?

588


Which is better stringbuffer or stringbuilder?

523


What is byte [] in java?

530


You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain

526