what is virtual function?
Answer Posted / ori
(this answer is more - a "use of virtual function")
One Important use of virtual function is - Aggregation of
object related to derivation class hirarcy, in to an other
class , by defining a pointer to the base class (of
hirarchy) as one of the member objects of the other class.
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
What is the fundamental idea of oop?
Why is polymorphism important in oop?
#include
Write a program to sort the number with different sorts in one program ??
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
what is different between oops and c++
Explain the concepts involved in Object Oriented programming.
• What are the desirable attributes for memory managment?
What are oops functions?
What is an example of genetic polymorphism?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
Why do we need polymorphism in c#?
What is persistence in oop?
Why is destructor used?
How to hide the base class functionality in Inheritance?