Question: JAVA You need to use the Taxable and PRSI interfaces as detailed below. 2. a. Create an Employee class which has a name, PPS number

JAVA

You need to use the Taxable and PRSI interfaces as detailed below.

2. a. Create an Employee class which has a name, PPS number an annual salary.

b. Have this class implement the Taxable and PRSI interfaces.

c. An employees PRSI is calculated as follows: i. If the employee earns less than 352 per week the PRSI is 0, otherwise the PRSI is the salary times PRSI.rate

d. An employees Tax is calculated as follows: i. An employee pays 20% tax on the first 33800 that he/she earns and 40% on the remainder.

e. An employee should implement the printTax() method by calculating the PRSI and Tax and then printing this along with the name and PPS number.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!