What's polymorphism mean ? | Sololearn: Learn to code for FREE!

+5

What's polymorphism mean ?

8/1/2017 8:26:31 PM

Terroufi Zakarya

9 Answers

New Answer

+15

polymorphism means ability to take more than one form.An operation may exhibit different behaviour in different instances. The word POLYMORPHISM is originated from Greek word.In simple way poly means MANY And morphism means FORM. Taking more than 1 form is called as polymorphism. In Oop 2 types of polymorphism:- 1) Compile time polymorphism 2)Run time polymorphism

+13

IN JAVA THERE ARE METHODS LIKE FUNCTIONS IN C .SO ONE METHOD PERFORMING VARIOUS OPERATIONS IN JAVA CODE IS KNOWN AS POLYMORPHISM EXAMPLE..METHOD OVERLOADING AND CONSTRUCTOR OVERLOADING ARE A PART OF POLYMORPHISM.

+6

polymorphism means one thing but many behavior. Its best example water that are liquid, solid as ice and water-vapor. same as in java one method behaves as many form due to inheritance of one class in multiple class with different definition of single method.

+4

best example is: one person with many behavior is called polymorphism. in java 2 types of polymorphism. 1) runtime polymorphism 2)compiletime polymorphism

+3

Polymorphism is a OOPs concept where one name can have many forms. For example, you have a smartphone for communication. The communication mode you choose could be anything. It can be a call, a text message, a picture message, mail, etc. So, the goal is common that is communication, but their approach is different. This is called Polymorphism.

+1

same method but different behavior as you saw makeSound() method has different output in same group of classes through inheritance.

+1

Polymorphism means to exhibit different operations. The best example is your mobile phone it can act as camera,alarm, telephone directory,can make calls etc etc....

0

In simple way it stands for creating multiple copies or state of something.

-1

polymorphism simple means "one interface multiple methods"