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 / vadivel
virtual function supports run-time polymorphrism. Ovarhead
is run-time has to create 'virtual' table.
'Derived' class object can be stored in the 'base' class
pointer. Using 'base' class pointer, client can call base
class method but not in the derived class method; if client
wants to call the derived class method then based method
should declare as virtual.
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is the example of polymorphism?
What are the three parts of a simple empty class?
What is the oops and benefits of oops programming?
What is destructor oops?
Why is destructor used?
Why is oop useful?
What is polymorphism in oops with example?
What is static in oop?
What is byval and byref? What are differences between them?
what are the ways in which a constructors can be called?
What does no cap mean?
What is difference between inheritance and polymorphism?
What is polymorphism and why is it important?
write a program to find 2^n+1 ?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.