Linked Questions

Popular Questions

Java carriage to previous line

Asked by At

\n - 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"

System.out.println("this is for");

Now how can I append "test" to the previous line since println moved carriage to the next?

Related Questions