9
Reply

Types of Polymorphism

Astha Jain

Astha Jain

12y
6k
2
Reply

    2 Dynamic Static

    Compiletime polymorphism or runtime polymorphism

    Please mention some examples at real time

    1-Compile time 2-Run Time

    static polymorphism(compile time polymorphism) and dynamic polymorphism(run time polymorphism).Method overloading is an example of static polymorphism and method overriding is an example of dynamic polymorphism..

    There are two type of polymorphism 1-Static polymorphism or Compile time polymorphism 2-Dynamic polymorphism or Runtime polymorphism

    compile time poymorphism and Runtime polymorphism

    Earlytime and Runtime.

    there are two type of polymorphism1- Run time polymorphism 2- Compile time polymorphism