title: Java: Getting A String From An Arraylist
body: <p>When I use a for loop(like so:)</p>
  
  <pre><code>  StringBuilder string = new StringBuilder();
      for(int i1 = 0; i1 &lt; array.size()){
        string.append(arraylist.get(i).toString());
      } 
  </code></pre>
  
  <p>I get an outOfBouds crash. I need to read the arraylist object by object, so 
      <code>arraylist.toString()</code>
  does no good.</p>
  
  <p>any help? Thanks</p>