Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

More Books

Students also viewed these Databases questions

Question

=+Trainers from headquarters? Local trainers? Independent trainers?

Answered: 1 week ago