+ 5

What's polymorphism mean ?

Java OOP

1st Aug 2017, 8:26 PM
Terroufi Zakarya
Terroufi Zakarya - avatar
9 Answers
+ 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
9th May 2018, 5:31 AM
The Princess Diary 2001
The Princess Diary 2001 - avatar
+ 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.
2nd Aug 2017, 1:29 PM
Jeeteshkumar Tiwari
Jeeteshkumar Tiwari - avatar
+ 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.
7th Sep 2017, 4:46 PM
Priti Ranjana Kumari
Priti Ranjana Kumari - avatar
+ 4
best example is: one person with many behavior is called polymorphism. in java 2 types of polymorphism. 1) runtime polymorphism 2)compiletime polymorphism
1st Aug 2017, 9:03 PM
meherDev
meherDev - avatar
+ 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.
23rd Jun 2018, 8:38 PM
Pravin Yadav
Pravin Yadav - avatar
+ 1
same method but different behavior as you saw makeSound() method has different output in same group of classes through inheritance.
13th May 2018, 10:33 PM
Joash N
Joash N - avatar
+ 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....
25th Dec 2018, 2:53 PM
Anjali Kesavarapu
0
In simple way it stands for creating multiple copies or state of something.
19th May 2018, 11:05 AM
Aditya Ojha
Aditya Ojha - avatar
- 1
polymorphism simple means "one interface multiple methods"
19th Jul 2018, 8:22 AM
Deeksha
Deeksha - avatar