What is Pure Virtual Function? Why and when it is used ?
Answer Posted / guest
The abstract class whose pure virtual method has to be
implemented by all the classes which derive on these.
Otherwise it would result in a compilation error.
This construct should be used when one wants to ensure that
all the derived classes implement the method defined as
pure virtual in base class.
| Is This Answer Correct ? | 77 Yes | 44 No |
Post New Answer View All Answers
What are c++ redistributables?
Give 10 points of differences between C & C++.
What are static variables?
How is modularity introduced in C++?
What is stream and its types in c++?
When do we run a shell in the unix system?
How would you find out if a linked-list is a cycle or not?
In a function declaration, what does extern mean?
What is object in c++ example?
What is c++ used for in games?
What is a modifier in c++?
Are c and c++ similar?
What is command line arguments in C++? What are its uses? Where we have to use this?
What do you mean by function overriding & function overloading in c++?
What is an adjust field format flag?