One-dimensional array references to multi-dimensional array

Viewed 150

Why does this code compile?

int[] array = new int[][]{{1}}[0];

On the left side is one-dimensional array. On the right I thougth that three-dimensional, but it is not?

3 Answers
Related