what is polymorpsim? what are its types?

Answer Posted / niranjan ambati

By using "virtual" keyword infront of "implementation
methods" declarations in the class, polymorphisim can be
achieved. late binding(run time execution)
,Encapsulation(APIs), avoid ambiguity between multi
inheritance can be achieved thru polymorphisim.. Using
polymorphisim, the objects will call correct methods at run
time by using virtual pointer table.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

1646


Which type does string inherit from?

608


How oops is better than procedural?

581


Can you inherit a private class?

629


Why we use classes in oop?

569






How to use CMutex, CSemaphore in VC++ MFC

4322


officer say me - i am offered to a smoking , then what can you say

1574


What is difference between abstraction and encapsulation?

584


Which is not an object oriented programming language?

530


What is the real time example of encapsulation?

586


What is the difference between static polymorphism and dynamic polymorphism?

572


Why it is called runtime polymorphism?

571


What is for loop and its syntax?

592


What is encapsulation c#?

596


Is this job good for future? can do this job post grduate student?

1685