3. It is the ability for a message or
data to be processed in more
than one form.
It is the property by which the
same message can be sent to
objects of several different
classes.
4. Polymorphism in C++ is achieved by
Function Overloading
Operator Overloading
Dynamic Binding
5. Example
The message send by ringing the
bell in your school, is processed
in many forms by which we are
informed about
the beginning of the class,
end of the class,
beginning of an interval,
end of the day’s classes etc.
6.
7.
8.
9. EARLY BINDING
It refers to the ability of the compiler
to relate or bind a function call with
the function definition during
compilation itself.
FUNCTION OVERLOADING and
OPERATOR OVERLOADING comes
under this category.
10. LATE BINDING
It refers to the binding of a
function call with the function
definition during runtime.
It uses the concept of POINTERS
and INHERITANCE.
11. POLYMORPHISM
COMPILE TIME / RUNTIME /
STATIC / EARLY DYNAMIC /
BINDING LATE BINDING
FUNCTION OPERATOR VIRTUAL
OVERLOADING OVERLOADING FUNCTION