Question: Develop a Java program to read input data records into an object array of MyRecord and display the CPU time used to for such a
Develop a Java program to read input data records into an object array of MyRecord and display the CPU time used to for such a reading operation.
Design and develop a data class for the input data record. Please name the data class as MyRecord. (This class does not need to be a public class.)
Input file: pj2Data.csv
Assumption: There are less than 20,000 records in pj2Data.csv
The data file pj2Data.csv is a csv (comma separate value) file and contains 3 fields, separated by commas, on each line:
Property ID, County, Price
Listed below are some sample lines:
119736,CLAY COUNTY,792148.9
448094,CLAY COUNTY,1438163.57
206893,CLAY COUNTY,192476.78
333743,CLAY COUNTY,86854.48
172534,CLAY COUNTY,246144.49
Hint: This program generates 1 line of output.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
