Explain the concept of polymorphism with examples?

Answer Posted / sankar

polymorphism helps us create classes which are simple and
user friendly.it allow the class to behave polymorphicly
when different inputs are passed on to it.

Is This Answer Correct ?    6 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens to a static var that is defined within a method of a class?

541


What is the purpose of javac exe?

547


which class is the wait() method defined in? : Java thread

513


What is local variable and instance variable?

599


Which of the following classes will have more memory allocated?

573






Define inheritance?

540


What is difference between adapter class and listener?

487


Difference between association, composition and aggregation?

547


In the below example, how many string objects are created?

546


What is difference between null and void?

521


What is floating data type?

526


Is java still relevant?

488


What super () does in java?

473


What is classes in java?

506


Can we declare an array without size in java?

511