Why do we use virtual functions?

Answer Posted / uma sankar pradhan

we use virtual functions to achive dynamic binding
Dynamic binding is establishing relation between the
function call and function definition at run time

Is This Answer Correct ?    22 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are benefits of oop?

630


What does enum stand for?

605


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2026


Why do we use class?

626


What is encapsulation selenium?

549






What is the fundamental idea of oop?

629


What are the three parts of a simple empty class?

1447


What is polymorphism and example?

585


Why is abstraction used?

599


Prepare me a program for the animation of train

1982


How to use CMutex, CSemaphore in VC++ MFC

4323


What is constructor overloading in oop?

597


Templates mean

1582


Why interface is used?

547


What are the advantages of polymorphism?

569