This was asked by a friend. Strangely enough this java code compiles and runs properly.
int getArray() [] { ... }
Am I missing something here. Shouldn't it be
int[] getArray() { ... }
EDIT: getArray() is a function here which returns an integer array.