Question: You are given a csv file named input.csv that has several lines. Each line contains the information of an employee including EMPLOYEE _ ID ,

You are given a csv file named input.csv that has several lines. Each line contains the information of an employee including EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, MANAGER_ID, and DEPARTMENT_ID. Create a Java class Filtering. In this class,
a)
(25 points) Write a function to read in input.csv and count how many employees there are in the csv file.
b)
(25 points) Write a function to read in input.csv, get all employees that do not have a manager (i.e., MANAGER_ID =-), and write the information of these employees to filter.csv.
c)
(10 points) Create a main function to properly call functions that you write.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!