The objective of the lab is to modify the employee class to


The objective of the lab is to modify the Employee class to demonstrate composition and a class interface. An employee typically has benefits, so we will make the following changes:

1. Create a Benefits class.

2. Integrate the Benefit class into the Employee class.

3. Create an iEmployee abstract class to guarantee that calculatePay is implemented in the Employee class. A tutorial on interfaces can be downloaded here.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: The objective of the lab is to modify the employee class to
Reference No:- TGS01092744

Expected delivery within 24 Hours