First of all, boolean[][] storage = new boolean[10][2]declares an array and initializes it.
So, you have created 11 arrays. One of the elements of the type boolean[]and 10 of boolean type.
, , new boolean[], .
boolean[][] storage = new boolean[10][]; .
, boolean[] type, .
storage[0] = array;