title: Read one line of a csv file in Java
body: <p>I have a csv file that currently has 20 lines of data.
  The data contains employee info and is in the following format: </p>
  
  <p>first name, last name, Employee ID</p>
  
  <p>So one line would like this: Emma, Nolan, 2</p>
  
  <p>I know how to write to the file in java and have all 20 lines print to the console, but what I'm not sure how to do is how to get Java to print one specific line to the console.</p>
  
  <p>I also want to take the last employee id number in the last entry and have java add 1 to it one I add new employees. I thinking this needs to be done with a counter just not sure how.</p>