title: What is the difference between int[] x; and int x[];?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/129178/difference-between-int-array-and-int-array">Difference between int[] array and int array[]</a>  </p>
  </blockquote>
  
  
  
  <p>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:</p>
  
  <pre><code>int[] x = new int[1];
  int y[] = new int[1];
  x=y;
  y=x;
  </code></pre>
  
  <p>and compiler didn't give me an error. So is there any difference between these two declarations?</p>