All assignments must be submitted by the deadlines to receive credits.You must include your name in every file that you submitted.You are not allowed to submit binary files, including zip files, image files, and bytecodes.Please name your file as YourLastNameQZ2, e.g., jhonQZ2.docx or jhonQZ2.pdfObjective: Compare the memory efficiency between ArrayList and LinkedListInput file: qz2Data.csvAssumption: The number of records in qz2Data.scv is unknownThe data file “qz2Data.csv” is a csv (comma separate value) file and contains 3 fields, separated by commas,on each line:Property ID, County, PriceListed below are some sample lines:119736,CLAY COUNTY,792148.9448094,CLAY COUNTY,1438163.57206893,CLAY COUNTY,192476.78333743,CLAY COUNTY,86854.48172534,CLAY COUNTY,246144.49You are required to develop a Java program to: Read all data records from qz2Data.csv file into java.util.ArrayList and display the memory used for thisoperation. Read all data records from qz2Data.csv file into java.util.LinkedList and display the memory used for thisoperation.(Hint: This program generates 2 lines of output.)
All assignments must be submitted on Canvas by the deadlines to receive credits.
You must include your name in every file that you submitted.
You are not allowed to submit binary files, including zip files, image files, and bytecodes.
Please name your file as YourLastNameQZ2, e.g., YaoQZ2.docx or YaoQZ2.pdf
Objective: Compare the memory efficiency between ArrayList and LinkedList
Input file: qz2Data.csv
Assumption: The number of records in qz2Data.scv is unknown
The data file “qz2Data.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
You are required to develop a Java program to:
• Read all data records from qz2Data.csv file into java.util.ArrayList and display the memory used for this
operation.
Read all data records from qz2Data.csv file into java.util.LinkedList and display the memory used for this
operation.
Hint: This program generates 2 lines of output.