Question: JAVA In the class CovidQ, write a method printHeaviestDay which given an ArrayList of Covid19Records as described above will print out to a specified file
JAVA
In the class CovidQ, write a method printHeaviestDay which given an ArrayList of Covid19Records as described above will print out to a specified file (given by a path) for each unique region: a. The name of the region b. The Date on which the greatest number of new cases were recorded: c. The number of new cases on that day. The method signature for this is : public static void printHeaviestDay(String sPath, ArrayList obList)
the file is too big, but i just need the code and i'll work it out with the rest of the data
AutoSave Off H cases.csv Search File Home Insert Page Layout Formulas Data Review View Developer Help v y O X Cut Calibri v 11 11 A A === a Wrap Text General In LECopy Paste .00 BIU GA- Merge & Center $%$8-20 Conditional FC Format Painter Formatting Clipboard Font Alignment Number A B C D E F G H 1 1 Date Region New Cases Total Cases Active Cases Inpatient Hospitalizations ICU Hospitalizations Recovered Cases Deaths 2 2020-08-04 Far North West 0 346 4 0 0 335 7 3 2020-08-04 Far North West 0 0 4 2020-08-04 Far North Central 0 0 0 0 0 0 0 5 2020-08-04 Far North East 0 6 0 0 0 6 0 6 2020-08-04 Far North East 0 0 7 2020-08-04 North West 0 96 1 0 0 70 4 8 2020-08-04 North West 0 7 9 2020-08-04 North West 0 10 10 2020-08-04 North West 1 4 11 2020-08-04 North Central 1 63 6 0 0 55 1 12 2020-08-04 North Central 0 1 13 2020-08-04 North Central 0 0 14 2020-08-04 North East 0 62 1 0 31 0 15 2020-08-04 North East 0 30 16 2020-08-04 North East 0 0 17 2020-08-04 Saskatoon 2 216 24 3 5 190 2 18 2020-08-04 Central West 0 158 46 0 83 0 19 2020-08-04 Central West 0 29 20 2020-08-04 Central East 0 28 1 0 0 24 1 21 2020-08-04 Central East 0 1 22 2020-08-04 Central East 0 0 23 2020-08-04 Central East 0 1 24 2020-08-04 Central East 0 0 25 2020-08-04 Regina 4 99 13 1 2 83 1 26 2020-08-04 South West 1 149 30 3 0 113 0 27 2020-08-04 South West 0 6 28 2020-08-04 South Central 0 134 30 0 0 99 2 29 2020-08-04 South Central 0 3 30 2020-08-04 South East 0 11 0 0 0 0 6 0 31 2020-08-04 South East 0 0 32 2020-08-04 South East 0 4 33 2020-08-04 South East 0 1 34 2020-08-05 Far North West 0 346 0 0 335 7 35 2020-08-05 Far North West 0 0 36 2020-08-05 Far North Central 0 0 0 0 0 0 0 0 37 2020-08-05 Far North East 0 0 6 0 0 0 6 0 38 2020-08-05 Far North East 0 0 39 2020-08-05 North West 0 98 1 0 0 79 4 40 2020-08-05 North West 0 7 Anno C III mo
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
