title: Reading in specific lines from an Excel spreadsheet saved as CSV file
body: <p>I've got a class called TemperatureProfile, whose objects hold two attributes: </p>
  
  <ul>
  <li>an array of month names (type <code>String[]</code>), and</li>
  <li>and an array of temperatures (type <code>double[]</code>). </li>
  </ul>
  
  <p>Now, the data for these two attributes must be read from an Excel spreadsheet saved as CSV file. The month names are in the first column, and the temperatures in the second. </p>
  
  <p>I'm having trouble reading in the data from these separate columns.</p>
  
  <pre><code>public class TemperatureProfile {
      private double[] temperatures;
      private String[] monthNames;
      public TemperatureProfile(String filename){
        ///Read data here, and store result in monthNames and temperatures respectively.
      }
  }
  </code></pre>