CIS247C iLab Week 6

$13.50

CIS247C iLab Week 6
We are going to create an abstract Employee class and two pure virtual functions – calculatePay() and…

SKU: CIS247C iLab Week 6 Categories: , Tags: , , , ,

Description

CIS247C iLab Week 6

CIS247C iLab Week 6

iLAB OVERVIEW

Scenario and Summary

We have two separate goals this week:

  1. 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().
  2. We are going to implement Polymorphism and dynamic binding in this iLab.