Writenbspa java application that assigns hourly wages to


Write a Java application that assigns hourly wages to employees. Create an Employee Exception class whose constructor receives a String that consists of an employee ID and pay rate. Create an Employee class with two fields, an identification number and an hourly wage. The employee constructor requires values for both fields. Upon construction, throw an EmployeeException if the hourly wage is less than $6.00 or over $50.00. Write an application that creates at least three employees with hourly wages below, above and within the given range. Make sure that at least 2 exceptions are thrown and displayed. Call this main class ThrowEmployee.

Turn in your source files named

Employee.java

EmployeeException.java

ThrowEmployee.java

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Writenbspa java application that assigns hourly wages to
Reference No:- TGS01607023

Now Priced at $10 (50% Discount)

Recommended (91%)

Rated (4.3/5)