Class PartTimeEmployee
- java.lang.Object
-
- HourlyEmployee
-
- PartTimeEmployee
-
- All Implemented Interfaces:
Employee
public class PartTimeEmployee extends HourlyEmployee
-
-
Field Summary
Fields Modifier and Type Field Description static double
partTimeWage
Public variable to keep the default starting part time wage of 10-
Fields inherited from class HourlyEmployee
IDNum, name, title
-
-
Constructor Summary
Constructors Constructor Description PartTimeEmployee(java.lang.String name, int id)
Create a new part time empolyee, which is mostly an HourlyEmployee working the part time shift at partTime wages
-
Method Summary
-
Methods inherited from class HourlyEmployee
addHours, pay, setShift, toString
-
-