Question: Please develop a Java program to implement the functions listed in the table below. Function Input 1: Retrieve data records by the state 2-character state

Please develop a Java program to implement the functions listed in the table below.

Function Input
1: Retrieve data records by the state 2-character state abbreviation
2: Retrieve data records by the gender 1-character gender (M or F)

You will select a data structure to implement your solution. As part of your program comment, you will explain the reason(s) why you believe that your selected data structure is most effective (CPU-efficient and memory-efficient). Without such an explanation, you will NOT receive credits Input file: Data.csv Assumption: - The number of records in Data.csv is unknown. - Your program will skip/reject dirty data lines. For example, if a line contains 2 fields, it is considered as a dirty data line and will be rejected/skipped by your program. Each data line consists of 4 attributes/fields, separated by commas: - ID - Age - State (2-character state abbreviation) - Gender (M or F) Shown below are 2 sample data records: 778720514, 69, VA, M 350425242, 26, MD, F

I use JGRASP so it must be in one java file

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!