title: How i could save an array[] to an array[][] with two dimensional
body: <p>I had create an Array[] and i would like to save it in firsti column! So i had wrote this code: </p>
  
  <pre><code>String[][] SundaySounds = {{"0","0"}};  
  String[] SundayArray = {"0"};
  
  ........
  
  for (int i=0;i&lt;SundayArray.length;i++)
      {   
          SundaySounds[0][i] = SundayArray[i];   &lt;--line 39
          System.out.println(SundayArray[0][i]);
      }
  </code></pre>
  
  <p>And i get this error output:</p>
  
  <p>Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2
      at Test.main(Test.java:39)</p>