concatenating string and numbers Java
<p>Why is the output different  in these cases ?</p>

<p><code>int x=20,y=10;</code></p>

<p><code>System.out.println("printing: " + x + y);</code>   ==>     <em>printing: 2010</em></p>

<p><code>System.out.println("printing: " + x * y);</code>   ==>     <em>printing: 200</em></p>

<p>Why isn't the first output 30? Is it related to operator precedence ? Like first "printing" and x are concatenated and then this resulting string and y are concatenated ? Am I correct?</p>
