title: how to create array inside for loop in java
body: <p>I want to create 10 arrays inside a <code>for</code> loop, using the names 1, 2, 3, ..., 10 for the arrays.</p>
  
  <p>I tried like this, but it's not working:</p>
  
  <pre><code>int n = 10;
  for(int i = 0; i &lt; n; i++)
  {
      String [] i = new String[];
  }
  </code></pre>