What is the difference between virtual functions and pure virtual functions?
Answer Posted / hrpynux@gmail.com
A virtual function is a member function of base class which can be redefined by derived class. A pure virtual function is a member function of base class whose only declaration is provided in base class and should be defined in derived class otherwise derived class also becomes abstract.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a superclass in oop?
Is c++ an oop?
Distinguish between new and malloc and delete and free().
What is singleton class in c++?
What is a stl vector?
Can main method override?
How is class defined?
Is c++ still in demand?
What is a null object in c++?
Is it possible for a member function to use delete this?
what type of question are asked in thoughtworks pair programming round ?
What are manipulators used for?
give me an example for testing a program showing the test path .show how the test is important and complex.
Can a program run without main?
I want explanation for this assignment: how to connect mysql database using c/c++,please explain this detailly?