java 2 by 2 arr code example
Example: Multidimensional array in java
// java two dimensional array length example
public class TwoDimensionalArrayLength
{
public static void main(String[] args)
{
int[][] arrNumber = {
{ 1, 3, 5 },
{ 7, 9, 2 },
{ 1, 2, 3, 4, 5 } };
System.out.println("Java two dimensional array length: " + arrNumber.length);
}
}