How to get the 2D Array length
<p>I create method to display element in the 2D array. but I can't specify the array length for each dimension. this is my code</p>

<pre><code>public static void display2DArray(String[][] array){        
    for (int i = 1; i &lt; array.length; i++) {
        for (int j = 1; j &lt; array.length; j++) {
            System.out.println("Document "+i+ "  Section "+j);
            System.out.println(" "+array[i][j]);
        }
        System.out.println(" ");
    }
} 
</code></pre>

<p>Please help me.</p>
