Question: Consider class: import java.util.*; import java.io.*; class CsvReader { //store the file name String filename; //store all the data in a file in the form
Consider class:
import java.util.*; import java.io.*; class CsvReader { //store the file name String filename; //store all the data in a file in the form of arraylist which contains arraylists of strings ArrayList
Consider the CSV data:
1, abc, defg
2, dfg, efg
3, hjk, eehj
question:
Using the CSVReader program provided above, to read the data and compute a summary, such as the maximum, minimum, or average of one of the columns.
output requirement:
max value -3
min value -1
average : 3
[code must be written in java language only.]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
