The compiler will compile the following program. Note that the array dimension is missing.
class Test {
void foo() {
int a[] = new int[];
}
}
It chokes on the following:
class Test {
int a[] = new int[];
}
class Test {
void foo() {
int a[] = new int[];
}
}
It chokes on the following:
class Test {
int a[] = new int[];
}