I have a CSV file, format as follows:
City,Job,Salary Delhi,Doctors,500 Delhi,Lawyers,400 Delhi,Plumbers,100 London,Doctors,800 London,Lawyers,700 London,Plumbers,
Skip the first line of the CSV file. Do an additional
br.readLine()
before the while.
You might also want to add some format checks to be sure the file you are reading is in the correct format.