<p>I have recently been thinking about the difference between the two ways of defining an array:</p>

<ol>
<li><code>int[] array</code></li>
<li><code>int array[]</code></li>
</ol>

<p>Is there a difference?</p>

They are semantically identical. The
```
int array[]
```
syntax was only added to help C programmers get used to java.
```
int[] array
```
is much preferable, and less confusing.