Line separator in Java
<p>I am trying to print some values in new line but for some reason Java doesn't allow me to do it. Value for the second variable shows up in a new line but not for the third one. I've tried <code>System.getProperty()</code> and <code>\n\n</code> both gives me two new lines while I want just one line separator. 
Below is the code:</p>

<pre><code>emailBody.append("Variable1: " + cu.getVariable1() + "\n");
emailBody.append("Variable2: " + cu.getVariable2() + "\n");
emailBody.append("Variable3: " + cu.getVariable3() + "\n");
</code></pre>

<p>On Console:</p>

<p>Variable1: 1</p>

<p>Variable2: 2 Variable3: 3</p>

<p>I am not sure why Variable3 does not go to the next line. </p>

<p>Thanks,</p>