May be I am using 3D arrays first time. I just try to follow the 1D and 2D syntax to declare 3D, but compiler says Type mismatch. Can anyone tell me the reason behind this?
Integer[] _1D = new Integer[]{2,4,6,5,6};
Integer[][] _2D = new Integer[][]{{2,3},{4,6},{5,6}};
Integer[][][] _3D = new Integer[][][]{{1,2,3},{4,5,6},{7,8,9},{2,4,5}};
Thanks,