posted 16 years ago
I don't understand why the following results in a compiler error:
The reason why I don't understand this is that it is legal to do something like:
int[][] a = {{1, 2}, {}};
And an array is an object, so why doesn't the above work?
All code in my posts, unless a source is explicitly mentioned, is my own.