D) Both A and B are correct.
C) int[5][5] array2D;
A) int[][] array2D = new int[5][5];
B) int array2D[][] = new int[5][];