what is the virtual function overhead, and what is it used
for ? i hope i can get and appropriate answers, thanks a lot....
Answer Posted / sanish joseph
I thnk virtual fns r declared with 'virtual' keyword
nd it must be redifend in the derivd classes.
wen mor dan one classes derivs a methd in the base class,
dat method can be writn with virtual to avoid ambiguity.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Why it is called runtime polymorphism?
What is the diamond problem in inheritance?
What is overriding in oop?
Why do we use inheritance?
write a C++ program for booking using constructor and destructor.
What is class in oop with example?
What is static modifier?
Which language is not a true object oriented programming language?
What is purpose of inheritance?
What is encapsulation process?
What does and I oop and sksksk mean?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
What does and I oop mean in text?
What is destructor oops?
How do you achieve runtime polymorphism?