I'm trying to create a 2D array in Java with the use of IntelliJ.
The statement in particular is board = new Cell[size][size]. When debugging I detect that, after the statement, IntelliJ creates a 1D Cell[size][] array. IntelliJ has ignored the array's second dimension for some reason.
Does someone know what could be happening?
Thanks a lot in advance.