They contain Unicode (UTF-16) characters. For
literals, single quotations are used. For example,
etc. For
literals, double quotation is used. For example, programming, Java 8. Java also supports a few special escape sequences. For example,
(backspace),
(tab),
(line feed),
(form feed),
(carriage return),
(double quote),
(single quote), and
(backslash).