title: Java carriage to previous line
body: <p><code>\n</code> - is a new line in java, is it possible to get to the previous line from the current position?
  For example, I want to print "this is for test"</p>
  
  <pre><code>System.out.println("this is for");
  </code></pre>
  
  <p>Now how can I append "test" to the previous line since println moved carriage to the next? </p>