title: Java multiple array declaration
body: <p>The statement</p>
  
  <pre><code>int[] a
  </code></pre>
  
  <p>is the same as</p>
  
  <pre><code>int a[]
  </code></pre>
  
  <p>However, what happens when you have multiple declarations in a single line?</p>
  
  <p>What is the difference between</p>
  
  <pre><code>int[] a, b, c
  </code></pre>
  
  <p>and</p>
  
  <pre><code>int a[], b, c
  </code></pre>
  
  <p>Does the first one declare three arrays, and in the second they are <code>int</code>s, but <code>a</code> is an array?</p>
  
  <p>EDIT: </p>
  
  <p>Why does the declaration happen that way?</p>
  
  <p>Is this a good reason to use the syntax <code>int[] a</code> rather than <code>int a[]</code>?</p>