What are the different forms of polymorphism??

Answer Posted / ramesh

1.Compile time polymorphism
Exhibited by: Function overloading
Operator overloading
2.Run time polymorphism
Exhibited by: Function overriding

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is debug class?what is trace class? What differences are between them? With examples.

1888


Why do we use inheritance?

852


what are the ways in which a constructors can be called?

1827


What are properties in oop?

839


How to call a non virtual function in the derived class by using base class pointer

5983


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

1841


What is oops with example?

804


Can we define a class within the interface?

818


What is destructor in oop?

819


What is abstraction in oops with example?

1034


Why is oop useful?

843


Why it is called runtime polymorphism?

824


What is overriding in oop?

824


What is pointer in oop?

762


What is class encapsulation?

857