+ 9

What is Polymorphism

10th Nov 2016, 5:43 PM
David Kariuki
David Kariuki - avatar
5 Respostas
+ 11
Polymorphism is the ability of an object to take on many forms. The most common use of polymorphism in OOP occurs when a parent class reference is used to refer to a child class object. Any Java object that can pass more than one IS-A test is considered to be polymorphic.
10th Nov 2016, 5:43 PM
David Kariuki
David Kariuki - avatar
10th May 2017, 12:56 AM
NimWing Yuan
NimWing Yuan - avatar
+ 2
David Kariuki you are right! Polymorphism allows you to invoke derived class methods through a base class reference during runtime.
18th Dec 2016, 11:05 AM
Paras Jain
Paras Jain - avatar
+ 1
polymorphism means that single method can have number of different implementations . polymorphism is fundamental concept of oop it provides following functions: 1.it allows you to invoke methods of base class throught derived class references during runtime. 2.it has ability for classes to provode different implementations of methods that are called throught the same name. and there are two types of polymorphism 1.Compiletime Polymorphism(Overloading) 2.Runtime Polymorphism(Overriding)
22nd Dec 2016, 12:44 PM
Vishwanath Patil
Vishwanath Patil - avatar
+ 1
1 no Bhai.
6th Apr 2017, 12:40 PM
Deepak Goud
Deepak Goud - avatar