What are the different forms of polymorphism??

Answer Posted / suganyamuralidharan

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

Is This Answer Correct ?    22 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the example of polymorphism?

556


What is the fundamental idea of oop?

638


Plese get me a perfect C++ program for railway/airway reservation with all details.

3428


What is overloading and its types?

615


What are oops functions?

583






Why do while loop is used?

576


What is polymorphism in oop example?

515


What is the purpose of polymorphism?

679


What is encapsulation in oops?

535


What is object in oops?

612


How long to learn object oriented programming?

564


what are the different types of qualifier in java?

1842


class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

1696


What is abstraction example?

622


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

1657