Computer Applications
What are escape sequences in Java? Give three examples.
Values & Data Types Java
74 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
46 Likes