Community
Participate
Working Groups
I can type: int[] x[]; OR void foo(int[] bar[]) {} Is this redundancy allowed by the spec? I wouldn't be surprised.
Yes, this is perfectly legal. This is not redundant. If you write: int[] x[], x is an array of ints with a dimension 2. See http://java.sun.com/docs/books/jls/second_edition/html/arrays.doc.html#17235 Ok to close?
I close it as invalid. Reopen if the explanation is not enough.