what is polymorphism with example?types of polymorphism?

Answer Posted / ramaiah.teepalapudi

polymorphism is the phenomenon where the same message sent
to two different objects produces two different set of
actions. Polymorphism is broadly divided into two parts:



Static polymorphism – exhibited by overloaded functions.
Dynamic polymorphism – exhibited by using late binding.

Is This Answer Correct ?    29 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know how to reverse string in java?

798


What is slash r?

744


What does this () mean in constructor chaining concept?

802


How many types of methods are there?

732


What are the advantages of defining packages in java?

727


If an application has multiple classes in it, is it okay to have a main method in more than one class?

746


What is the difference between JVM and JRE?

806


What is OOP's Terms with explanation?

847


What is map and hashmap in java?

808


What is the difference between @before and @beforeclass annotation?

732


Write a program in java to create a doubly linked list containing n nodes.

727


What are the 2 types of java programs?

776


What is the differences between c++ and java? Explain

789


What is sortedmap interface?

760


What is the benefit of lambda expressions?

709