Possible Duplicate:
Difference between int[] array and int array[]
I was sure that this question is already asked and just wrote the title to find it, but to my surprise it wasn't. I was working on one issue and this question raised. I tried this:
int[] x = new int[1];
int y[] = new int[1];
x=y;
y=x;
and compiler didn't give me an error. So is there any difference between these two declarations?