Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can someone help me with this question for Java 2? Use ArrayList or dynamic array: Employee_ID, Employee_Name, Employee_Department Employee_Salary Employee_Yearly_Salary Employee_Eligibility_Covid_Relief_Check Cases: 1) Insert in

Can someone help me with this question for Java 2?

Use ArrayList or dynamic array:

Employee_ID, Employee_Name, Employee_Department Employee_Salary Employee_Yearly_Salary Employee_Eligibility_Covid_Relief_Check

Cases:

1) Insert in IT Department

2) Insert in Accounting Department

3) Insert

1. Insert in IT Department 2. Insert in Accounting Department

4) Delete

1. Delete in IT Department 2. Delete in Accounting Department

5) Modify

1. Modify in IT Department 2. Modify in Accounting Department

6) Display by department

1. View IT Department 2. View Accounting Department

7) Search by department

1. Search by ID in IT Department 2. Search by ID in Accounting Department

8) Sort by department

1. Sort by Name in IT Department 2. Sort by Name in Accounting Department

9) Insert by Index

1. Insert by Index in IT Department 2. Insert by Index in Accounting Department

10) Delete by Index

1. Delete by Index in IT Department 2. Delete by Index in Accounting Department

11) Display all departments

--------------------------------------------------------------------------------------------- Criteria (basically above $150,000.00 not eligible)

Employee_Yearly_Salary Employee_Eligibility_Covid_Relief_Check $75,000.00 Eligible $100,000.00 Eligible $150,000.00 Eligible $170,000.00 Not_Eligible $190,000.00 Not_Eligible $210,000.00 Not_Eligible

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

If press 1 insert in IT Department If press 2 insert in Accounting Department

When press 3 Insert: You have to choices: if press 1 you will insert data for IT, if press 2 you will insert data for Accounting

Same thing with 4 Delete You have to choices: if press 1 you will delete data for IT, if press 2 you will delete data for Accounting

and so on for the rest of it.

IT Department

Employee_ID Employee_Name Employee_Department Employee_Salary Yearly_Salary Relief_Check

11 John Smith IT $6,000.00 $72,000.00 Eligible 13 Eliza Doe IT $9,000.00 $112,000.00 Eligible 12 Rebecca Grant IT $15,000.00 $175,000.00 Not_Eligible

Accounting Department

Employee_ID Employee_Name Employee_Department Employee_Salary Yearly_Salary Relief_Check

11 Jim Shepard Accounting $6,000.00 $72,000.00 Eligible 13 Glen Doe Accounting $9,000.00 $112,000.00 Eligible 12 Clark Gable Accounting $15,000.00 $175,000.00 Not_Eligible

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

Database Systems An Application Oriented Approach Complete Version

Authors: Michael Kifer, Arthur Bernstein, Richard Lewis

2nd Edition

0321268458, 978-0321268457

More Books

Students also viewed these Databases questions

Question

=+What is our leadership style like?

Answered: 1 week ago

Question

What is Constitution, Political System and Public Policy? In India

Answered: 1 week ago

Question

What is Environment and Ecology? Explain with examples

Answered: 1 week ago