how to print a line from a different line in java code example Example: java how to print a newline System.out.println("<Your line here.>");