What is the difference between Virtual Function and Pure Virtual Function? Is it always mandatory
to implement or define all the pure virtual function of the base class into derived class? Justify your
answer.
The pure virtual function is a virtual function without realizing. It is not mandatory to realize all virtual functions in the derived class, but if not all functions are realized, the derived class remand abstract, and it is impossible to create an objects of that class.
Comments
Leave a comment