Array Declaration-Error in Java
<p>Why </p>

<pre><code>int arr[][]=new int[5][];
</code></pre>

<p>declaration is perfectly fine  but  </p>

<pre><code>int arr[][]=new int[][5]    
</code></pre>

<p>generates compile time error ?<br>
Please do help me. I am not able to understand why is that so?</p>
