Data Type Java Tutorial

Value Meaning
\bBackspace
\fForm feed
\nNew line
\rCarriage return
\tTab

public class MainClass{
  public static void main(String[] arg){
     System.out.println("\b"); 
     System.out.println("\f"); 
     System.out.println("\n"); 
     System.out.println("\r"); 
     System.out.println("\t"); 
  }
}