What will be the output of the following program?
class Fill3DArray
{
public static void main(String args[])
{
int[][][] M;
M = new int[2][2][3];
for (int row = 0; row < 1; row++)
for (int col = 0; col < 2; col++)
for (int ver = 0; ver < 3; ver++)
M[row][col][ver] = row + col + ver;
for (int row = 0; row < 1; row++)
for (int col = 0; col < 2; col++)
for (int ver = 0; ver < 3; ver++)
System.out.print(M[row][col][ver] + " ");
}
}