how to read 2d array with only semicolon in java : I hava an 2d array somthing like this 

     int[][] arr1 = {,};

And i am trying to check no. of col and rows it contains.<br> 
I used below technique to calculate

    int rws=arr1.length,col=arr1[0].length;

but getting the error

`java.lang.ArrayIndexOutOfBoundsException: 0`

obviously it throwing this error  but
i am unable to hoe read this 2d array.

