CSC1110 Homework 13
Abstract Classes and Exceptions
This homework gives you practice with abstract classes and has you throw exceptions if conditions aren't met.
Assignment
The repository contains four classes:
Employee
— Models and employee so that payroll activities can be performed.FullTime
— Models a specific type of employee (one who is full-time).Hourly
— Models a specific type of employee (one who is paid hourly).Deduction
— Represents a simple deduction consisting of a description and an amount.
Javadoc is provided for the methods whose behavior may be unclear. You need to supply
Javadoc for the other methods. In addition, you must implement a driver class that
asks the user to enter information on several employees and then displays them using
the appropriate toString()
calls.
Submission Instructions:
Commit and Push your files to GitHub Classroom.