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

Can you explain the usages of class.forname()?

609


Write a code to show a static variable?

618


What is the difference between abstract classes and interfaces?

513


How do I know if java is installed?

519


What about anonymous inner classes in java?

561






Explain inheritance in java?

555


What are implicit objects in java?

552


Which containers use a flowlayout as their default layout in java programming?

508


What is hasnext in java?

578


what is bmg file and how to create that files?what will it contailn?

1886


What are different type of exceptions in java?

548


How do you remove duplicates in java?

526


Difference between concurrent hashmap and hashtable and collections

566


How do you sort a set in java?

518


Define jre i.e. Java runtime environment?

574