Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I have two classes Employee Class that contains the employee's information and employee's hourly rate and I got the pay period class that contains the

I have two classes Employee Class that contains the employee's information and employee's hourly rate and I got the pay period class that contains the hours work per week and taxes of the employee. I have created an arrayList employees in my main class but how can I create an array list of payperiod inside each employee. Anyway am doing java

image text in transcribed

Assignment #8: Use ArrayLists In this assignment we will store all the data we've been entering in an array. Due to Java's inability to dynamically resize arrays, we will use arraylists. Note that for this to work correctly we will need TWO array lists. 1. An array list of employees 2. An array list of PayPeriods INSIDE each employee. Be SURE to new your inner array in your employee constructor and create appropriate getter and setter methods on the OUTER class Input Expected: Same as Assignment #6 Sample Run: Inputs: Enter Employee Id: 123456 Enter Employee first name: Larry Enter Employee last name: Schoeneman Enter # of hours worked this week: 50 Enter hourly rate of pay: $10.00 Would you like to enter another employee? (Y/N) Output: (Complete list of employees) Employee Id : 123456 Last Name: Schoeneman First Name: Larry Week of 6/11/2020 (use current date) Hours Worked: 50 Hourly Rate: $10.00 Regular Pay: 40 hours at $10/hr: $400.00 Overtime Pay: 10 hours at $15/hr: 150 Gross Total: $650.00

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_2

Step: 3

blur-text-image_3

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

Database Design Application And Administration

Authors: Michael Mannino, Michael V. Mannino

2nd Edition

0072880678, 9780072880670

Students also viewed these Databases questions

Question

Describe the four perspectives of the Balanced Scorecard.

Answered: 1 week ago

Question

4. Who would lead the group?

Answered: 1 week ago

Question

What is the most important part of any HCM Project Map and why?

Answered: 1 week ago