2079 12

Object Oriented Programming20795 marksPure virtual functions

Explain the use of pure virtual function with example.

Explain the use of pure virtual function with example. [5]

A pure virtual function is a virtual function that has no implementation in the base class and is declared by assigning = 0 in its declaration. A class containing at least one pure virtual function is called an Abstract Class. --- Feature Description ------ Declaration Uses = 0 at the end Base cl...

Up nextCreate a class Employee with private data members Eid, Ename, and Salary. Include public m