Question: JAVA In the Class CovidQ, wite a method readInfo, which given a path to this file will load all the records in the CSV file
JAVA
In the Class CovidQ, wite a method readInfo, which given a path to this file will load all the records in the CSV file into an ArrayList of Covid19Records. The signature for this method is: public static ArrayList
This is what I have so far

private static final long serialVersionUID = 1L; String Date; String Region; int nCases; public Covid19 Records (String Date, String Region, int new_cases) { this.Date = Date; this.nCases new_cases; this.Region = Region; } // Getters and setters public String getDate() { return Date; } public void setDate(String date) { Date = date; } public String getRegion() { return Region; } public void setRegion(String region) { Region = region; } public int getNewCases() { return nCases; } public void setNewCases(int nCases) { this.nCases = nCases; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
