title: How do I convert lines of words into a single array
body: <p>For example, I want to turn this list: </p>
  
  <blockquote>
    <p>dog cat</p>
    
    <p>trees breeze</p>
    
    <p>...</p>
  </blockquote>
  
  <p>which has a definite amount of lines with two words in each into a single array.</p>
  
  <p>How do I do this using <code>BufferedReader</code>? The problem is I don't know how to continue parsing for say x times without a <code>for</code> loop or something. How would I do it with a <code>for</code> loop?</p>
  
  <p>Here is sample code:</p>
  
  <pre><code>BufferedReader br = new BufferedReader(new FileReader("input.in"));
  PrintWriter pw = new PrintWriter(new BufferedWriter(new FileWriter("input.out")));
  static int[] words
  for (int i=1; i&lt;2N; i+2) {
      StringTokenizer i 
          words[i] = String.parsestring}
  }
  }
  </code></pre>