Looping into 2d Object array
<p>Object [][] data = new Object[4][4] ;</p>

<pre><code>        for (int i =0;i&lt;data.length;i++)
        {
            data[i]={"a","b","c","d"};
        }
</code></pre>

<p>is there any way to fill the 2 day array with a way similar to that, 
NOTE: a ,b,c and d are different data so i can't use 2 loops to fill the array i 'm searching to a close way to that   </p>

<p>when i tried to do  </p>

<pre><code>            data[i]={"a","b","c","d"};
</code></pre>

<p>i thought it was going to work but for a reason it didn't </p>