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 the best it certification?
How is c++ different from java?
What is a constant? Explain with an example.
What are the fundamental features of an object-oriented language?
Should you pass exceptions by value or by reference?
What does it mean when someone says I oop?
Why interface is used?
Describe private, protected and public?
What is a hash function c++?
What are friend classes?
How to defines the function in c++?
why and when we can declar member fuction as a private in the class?
Templates mean
What are the rules for naming an identifier?
Please explain the reference variable in c++?