Question: In Java: I want to read CSV. The first line of the CSV represents labels. Business, Title, Category, Place, Authority, Minimum Qualifications , Preferred Qualifications
In Java:
I want to read CSV. The first line of the CSV represents labels.
Business, Title, Category, Place, Authority, Minimum Qualifications , Preferred Qualifications Bing, Title1, CategoryA, Tucson, Everything, BS, MS Bing, Title2, CategoryA, Tucson, Everything, BS, MS Bing, Title2, CategoryB, Hamburg, Everything, BS, MS Bing, Title3, CategoryA, Johanesburg, Everything, BS, MS
I already read the CSV file in a method that I call in my main function. In another function I want to create a hash table for the categories section and the counts for each one. For example CategoryA would have 3 and Category B would have 1. I want to return this hash table. How do I do this?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
