Computer Applications
What are escape sequences in Java? Give three examples.
Values & Data Types Java
76 Likes
Answer
An escape sequence is a set of characters that has a special meaning to the Java compiler. In the escape sequence, a character is preceded by a backslash (\). Some examples of escape sequences are \n, \' and \t.
Answered By
47 Likes
Related Questions
State whether the following statement is True or False :
A variable can be used in a Java program even if it has not been declared.
Why does Java use the Unicode character set?
What is the result of evaluating the following expression?
(3 + 6 * 7) / 3 + 2What is a token in Java? Name the tokens available in Java.