Java Character Escape Sequences

Java Character Escape Sequences table: 

Escape Sequence Description
\ ddd Octal character (ddd)
\ uxxxx Hexadecimal Unicode character (xxxx)
\’ Single quote
\” Double quote
\\ Backslash
\r Carriage return
\n New line (also known as line feed)
\f Form feed
\t Tab
\b Backspace

Leave a Reply

Your email address will not be published. Required fields are marked *