CIS247C iLab Week 3

$10.50

CIS247C iLab Week 3
The objective of the lab is to take the UML Class diagram and enhance last week’s Employee class by making…

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

Description

CIS247C iLab Week 3

CIS247C iLab Week 3

iLAB OVERVIEW

Scenario and Summary

The objective of the lab is to take the UML Class diagram and enhance last week’s Employee class by making the following changes:

  1. Create a static variable called numEmployees that holds an int and initialize it to zero. This will allow us to count all the Employee objects created in the main class.
  2. Increment numEmployees in all of the constructors
  3. Add overloaded versions of setDependents and setAnnualSalary that accept strings. This way, we will have two “set” methods for both dependents and annual salary; one that accepts a string, and one that accepts its default data type.