title: Java: Using File & Buffered Reader to fill an Array
body: <p>So, I have my first Java project due in my new course this Sunday. One of the (most important) things we need to do is to fill 2 arrays with information read from a file. My professor said to use a file and buffered reader to do this.
  Unfortunately, I've never used either.</p>
  
  <p>For the first array I need to: Create a String array with 15 elements, then Read the state search data from the data file and store each item into the array.
  The filename is 'states.search.txt' and contains the following.</p>
  
  <pre><code>California
  Texas
  AK
  California
  Indiana
  Missippi
  Jacksonville
  Okalahooma
  Florida
  Maine
  Hawaii
  Puerto_Rico
  FL
  New_York
  Auburn
  </code></pre>
  
  <p>The 2nd array is a lot more involved, so I'll ask separately for that one.
  All help is appreciated!</p>