title: Scanning text file into array of objects
body: <p>I have a comma separated text file with information in the format:</p>
  
  <p>firstname,lastname,meal1,meal2,meal3,meal4    ....with each new student on a new line.</p>
  
  <p>I have the following student object.</p>
  
  <pre><code>public class Student {
      private String first = null;
      private String last = null;
  
      public Student (String first, String last){
          this.first = first;
          this.last = last;
      }
  </code></pre>
  
  <p>I need a method that is to be used from another class to populate an Array of student objects.</p>
  
  <p>I am unsure how to do this with the Scanner as I only need the first two from each line, any help pointing me in the right direction would be very thankful.</p>
  
  <p>~Thanks!</p>