Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 10g Insider Solutions

Authors: Arun R. Kumar, John Kanagaraj, Richard Stroupe

1st Edition

0672327910, 978-0672327919

More Books

Students also viewed these Databases questions

Question

What is the purpose of a balance sheet?

Answered: 1 week ago

Question

=+C&B (especially taxation) laws, regulations, and practices?

Answered: 1 week ago