Question: Exercise 2 ( section 2 0 ) : Create a Java project to manage information about employees in a company. You will define an Employee
Exercise section :
Create a Java project to manage information about employees in a company. You will define an "Employee" class, and each employee will have a unique employee ID a name, and a salary. The Employee class should use instance variable ID for each employee starting from ID That is the first employee object gets ID the next one gets and so on
Write a tester program main class to read employee information from an input file. The input file format should include the number of employees in the first line, and each subsequent line should contain the employee's name and salary see sample input below The program should read and create Employee objects for each employee, store them in an array, and then process the array to find the average salary, and display the employees' data of only those who paid less than average.
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
