/* Java application intended to illustrate the use of escape sequences for ** specifying particular characters. */ public class EscapeSequences { public static void main(String[] args) { System.out.println("Spock said, \"I am logical\"."); // double quote System.out.println("The backslash character (\\) looks nice."); System.out.println("A newline character \n causes a skip to next line."); System.out.println("The tab \t character"); System.out.println("Backspace:\bfollowed by this"); System.out.println("Formfeed:\f does what?"); System.out.println("Carriage return:\r does what?"); } }