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 the difference between class & structure?

770


Which is a valid identifier?

743


Explain different ways of creating a thread?

740


how to create multithreaded program? : Java thread

688


Are floats faster than doubles?

760


Can we have try without catch block?

841


Mention some features of java?

723


What are the benefits of operations in java?

668


What are reference variables in java?

797


how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? : Java thread

726


What is getclass () getname () in java?

872


What is command line argument

910


How many bits are in a sentence?

786


Is null in java?

731


Difference between throw and throws?

848