Escape Sequences are used to signal an alternative interpretation of a series of characters. Some of the escape sequence are listed below:
\b Backspace
\t Horizontal tab
\n Line feed
\f Form feed
\r Carriage return
\” Double quote
\’ Single quote
\\ Backslash
\uxxxx Unicode character
I’m not sure whether you are asking for the definition of Escape sequence or different escape sequences. As Andre has provided the different types of escape sequences I’m just adding the definition of it.
Escape characters or escape sequences or escape codes in general are used to signal an alternative interpretation of a series of characters. In Java, a character preceded by a backslash (\) is an escape sequence and has special meaning to the java compiler.
Author
Posts
Viewing 2 reply threads
You must be logged in to reply to this topic. Login here