Pre and postincrement java evaluation
<p>Could you explain step by step how java evaluates </p>

<p>1) the value of y ?</p>

<pre>
   int x = 5;
   int y = x-- % x++;
</pre>

<p>2) the value of y in this case?</p>

<pre>
   int x = 5;
   int y = x-- * 3 / --x;
</pre>
