title: Java read certain line from txt file
body: <p>I want to read the 2nd line of text from a file and have that put into an array. I already have it working on the first line.</p>
  
  <pre><code>        [ Code removed as requested ]
  </code></pre>
  
  <p>The while loop above shows how I read and save the 1st line of the text file into an array. I wish to repeat this process from the 2nd line only into a different array.</p>
  
  <h2>File Content:</h2>
  
  <p>Sofa,Armchair,Computer Desk,Coffee Table,TV Stand,Cushion,Bed,Mattress,Duvet,Pillow
  599.99,229.99,129.99,40.00,37.00,08.00,145.00,299.99,24.99,09.99</p>