Prepared by : SELVIN JOSY BAI. S
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.
Polymorphism in C++ is achieved by

  Function Overloading


  Operator Overloading


  Dynamic Binding
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.
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.
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.
POLYMORPHISM




       COMPILE TIME /               RUNTIME /
       STATIC / EARLY               DYNAMIC /
         BINDING                   LATE BINDING




 FUNCTION         OPERATOR           VIRTUAL
OVERLOADING      OVERLOADING        FUNCTION

Polymorphism

  • 1.
    Prepared by :SELVIN JOSY BAI. S
  • 3.
    It is theability 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 sendby 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.
  • 9.
    EARLY BINDING It refersto 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 refersto 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