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


Please Help Members By Posting Answers For Below Questions

What is destructor oops?

619


What is difference between polymorphism and inheritance?

617


What is cohesion in oop?

621


What are the 4 pillars of oop?

668


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

3427






What do you mean by overloading?

576


given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy

2145


what is the sylabus for priliminaries?

1685


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

1577


what's the basic's in dot net

1736


Is react oop?

607


What is encapsulation in ict?

605


How do you define social class?

598


What is difference between data abstraction and encapsulation?

613


What is object in oops?

612