We are going to create an abstract employe


We are going to create an abstract Employee class and two pure virtual functions - calculatePay() and displayEmployee(). The abstract Employee class will prevent a programmer from creating an object based on Employee, however, a pointer can still be created. Objects based on Salaried and Hourly will be allowed. The pure virtual function calculatePay() in Employee will force the child classes to implement calculatePay(). The other pure virtual function displayEmployee() in Employee will force the child classes to implement displayEmployee().

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: We are going to create an abstract employe
Reference No:- TGS0106338

Expected delivery within 24 Hours