Java - Character Escape Codes

Java Conceptuel Diagram


Java provides escape sequences for several non-graphical characters.

All characters can be specified as:

  • a hexidecimal Unicode character (\uxxxx)
  • an octal character (\ddd where the first d is limited to 0-3, and the others 0-7 - same as \u0000-\u00ff).
\n	New line
  \t	Tab
  \b	Backspace
  \r	Carriage return
  \f	Formfeed
  \\	Backslash
  \'	Single quotation mark
  \"	Double quotation mark
  \d	Octal
  \xd	Hexadecimal
  \ud	Unicode character

Documentation / Reference

Discover More
Java Conceptuel Diagram

Why has become so popular among application developers? Primarily because makes application developers more productive. It is a modern, robust, object-oriented language. ’s unprecedented popularity...
Java Conceptuel Diagram
Java - Java Executable (Java.exe or Javaw.exe)

See The standard launcher command (java or javaw.exe) in JDK or JRE is no more than a simple C program linked with the Java Virtual Machine. The launcher parses the command line arguments, loads the...

Share this page:
Follow us:
Task Runner