Whats does this do in java? I don't understand --variable
<pre><code>array[i] = array[--size];
</code></pre>

<p>I understand that variable-- is equal to variable - 1 but what is --variable equal to and does it do something special when it is in the array brackets?  I guess this removes something from the array I really don't understand the code here.</p>
