What Is Polymorphism?


#1

Polymorphism refers to the ability of an object to respond in a logically identical fashion to messages of the same protocol, containing differing types of objects.


#2

Can you explain me with diagram and flow chart please


#3

Polymorphism in simple language is defined as ability to take more than one forms . It is an important concept in OOP(object oriented programming) where a single object can take more than one forms and can be used for different modules.


#4

Polymorphism refers to having many forms. The object acquires many forms such as a parent class reference is used to refer to a child class object.


#5

Polymorphism refers to having many forms. The object acquires many forms such as a parent class reference is used to refer to a child class object.


#6

It is a feature used in OOPS(Object Oriented Programming Language).It create functions with same name but different arguments,which will perform differently. It also allows to redefine a function to provide its new definition.


#7

The compiler at the compile time and, therefore, compiler is able to select the appropriate fuction for a particular call at the compile time itself. This is called early binding or static binding or static linking. Also known as compile time polymorphism. If the appropriate member function could be selected while the program is running. This is known as run time polymorphism.