We are going to create an abstract employee class and an


1. We are going to create an abstract Employee class and an abstract calculatePay method. The abstract Employee class will prevent a programmer from creating an object based on Employee. Only objects based on Salaried and Hourly will be allowed. The abstract calculatePay method in Employee will force the child classes to implement calculatePay.

2. We are going to implement Polymorphism and dynamic binding by creating generalized methods that accept generalized Employee objects to collect input and display information. However, in the main method we will pass derived objects of the Employee class into the methods.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: We are going to create an abstract employee class and an
Reference No:- TGS01090150

Expected delivery within 24 Hours