For example, declaring a new int[n][n] in java will result in n array references with each array containing n elements.
If I declare a new int[n][], how much memory will this take? I suspect it is just n references to null, but I want to confirm this.