title: 2d ArrayList placement
body: <p>I want to use a ArrayList instead of an array on the following code:</p>
  
  <pre><code>for(int k=0;k&lt;SIZE;k++) //size is 9
      for(int j=0;j&lt;SIZE;j++)
          ar1[k][j] = buttons[k][j].getText();
  </code></pre>
  
  <p>That's how the ArrayList should look like I guess:</p>
  
  <pre><code>ArrayList&lt;ArrayList&lt;String&gt;&gt;ar1 = new ArrayList&lt;ArrayList&lt;String&gt;&gt;();
  </code></pre>
  
  <p>But it's so confusing since I can't use the get method .. I don't know how to do that.</p>