The program should have one class per .java file all calling to a main.java file using getters and setters. Here are the classes: Employee - this should handle user imput to gather Id (hard code to 1), first name, last name, middle initial, address, city, state, zip, phone, email, and hourly rate. PayPeriod - this should handle user input to gather payid (hard code to 123456), start date (hard code to 1), end date (hard code to 30), and hours worked. TaxPayment - this should have fields for federal tax, state tax, and fica tax with an instance of this class to pay period so we have a place to store it. TaxManager - this computea the taxes from the gross total and adds them to the overall output. Be sure to use a method such as TaxPayment ComputeTaxPayment(double grossPay, TaxRates taxRates) to be stored in PayPeriod. Array - self explanatory, do the array stuff here. PayrollManager - this class calculates the regular pay, overtime pay (if applicable), gross total and calls for PrintPaystub to print the paystub into main. Main - the main class that calls for all user input and PrintPaystub to print the necessary information

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

In this java assignment, we will need to use arraylists so we can store data for an employee.
If the user wants to enter data for more than one employee, it should print like this:

Employee List
Id Name

-----------------------

1. First Name

2. Bob Smith

 

If the user only enters one employee, it should print out a paystub for that employee that would look like this (with overtime coming into play as well, paying an extra 50% beyond 40 hours):

-------------------------------

Id - 1

Name - First M. Last

Address - 1234 Main St, City, St, Zip

Phone - 1234567890

Email - sample@gmail.com

Hours worked - 45

Hourly Rate - $10

Regular Pay, 40 hours at $10/hr - $400

Overtime Pay, 5 hours at $15/hr - $75

Gross Total - $475

------------------------------

Federal tax (20%) - $95

State Tax (5%) - $23.75

Fica Tax (3%) - $14.25

------------------------------

Net Check - $342

 

The program should have one class per .java file all calling to a main.java file using getters and setters. Here are the classes:

Employee - this should handle user imput to gather Id (hard code to 1), first name, last name, middle initial, address, city, state, zip, phone, email, and hourly rate.

PayPeriod - this should handle user input to gather payid (hard code to 123456), start date (hard code to 1), end date (hard code to 30), and hours worked.

TaxPayment - this should have fields for federal tax, state tax, and fica tax with an instance of this class to pay period so we have a place to store it.

TaxManager - this computea the taxes from the gross total and adds them to the overall output. Be sure to use a method such as TaxPayment ComputeTaxPayment(double grossPay, TaxRates taxRates) to be stored in PayPeriod.

Array - self explanatory, do the array stuff here.

PayrollManager - this class calculates the regular pay, overtime pay (if applicable), gross total and calls for PrintPaystub to print the paystub into main.

Main - the main class that calls for all user input and PrintPaystub to print the necessary information.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Operations of Linked List
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-engineering and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY