Question: Create only 4 Array Lists for empID, empName, empDept, empSalary. Or create Java Class with variables: empID , empName, empDept, empSalary and use constructor, getters
Create only Array Lists for empID, empName, empDept, empSalary.
Or create Java Class with variables:empID empName, empDept, empSalaryand use constructor, getters and setters.
The program should look something like this:
ID NAME DEPT SALARY ANNUAL SALARY
John IT
Sarah ACC
James IT
Your menu should include:
ADD EMPLOYEE
ADD EMPLOYEE BY INDEX
REMOVE BY EMPLOYEE NAME
UPDATE SALARY BY EMPLOYEE ID
SEARCH BY ID and SHOW HISHER INFO
SHOW ALL EMPLOYEES and THEIR INFO ONLY BY DEPARTMENT
SHOW HIGH, LOW and TOTAL ANNUAL SALARIES
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
