Value | Meaning |
\b | Backspace |
\f | Form feed |
\n | New line |
\r | Carriage return |
\t | Tab |
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"); } }
2.35.Escape Sequences | ||||
2.35.1. | Table for escape sequence character | |||
2.35.2. | Character Escape Sequences | |||
2.35.3. | \\: to specify a backslash character as a character literal or in a text string | |||
2.35.4. | Convert lines into the canonical format, that is, terminate lines with the CRLF sequence. | |||
2.35.5. | Returns the quoted version of the string using the quotechar argument. | |||
2.35.6. | Determines if this is a quoted argumented - either single or double quoted. |