Explain polymorphism? What r the types of polymorphism?
pls give examples?

Answer Posted / ajay kanth donkada

Poly as the name states is some thing have more than one
form.
Types are:
Compile Time &
Run time

Example of compile time is Function Overloading/operator
overloading.

Example of Run time: Function overriding.

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we create object of interface?

607


What is difference between class and object with example?

564


What are properties in oop?

611


What is the purpose of polymorphism?

681


What does no cap mean?

592






What is encapsulation c#?

600


What is meant by oops concept?

612


Can destructor be overloaded?

599


what is difference between class template and template class?

2159


Why do we use inheritance?

630


Which is not an object oriented programming language?

544


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1395


What are different oops concepts?

578


• What are the desirable attributes for memory managment?

1728


what type of question are asked in thoughtworks pair programming round ?

1763