public class Main { public static void main(String[] args) { String txt = "Hello\rWorld!"; System.out.println(txt); } }