To download this material Click this link – http://homework-tutorials.com/product/cis247a-ilab-5-inheritance/
iLab 5 of 6: Inheritance
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:
Create a class called Salaried that is derived from Employee.
Create a class called Hourly that is also derived from Employee.
Override the base class calculatePay() method.
Override the displayEmployee() method.
Deliverables
Due this week:
Capture the Console output window and paste into a Word document.
Zip the project folder file.
Put the zip file and screenshots (Word document) in the Dropbox.
i L A B S T E P S
STEP 1: Understand the UML Diagram
Notice the change in UML diagram. It is common practice to leave out the accessors and mutators (getters and setters) from UML class diagrams, sin
Comments