+ 3
What is escape characters in Java?
Explain with an example.
1 Odpowiedź
+ 7
"n" on its own means nothing if we use the escape charactor ➡"\" and place ➡ "n" next to it ➡ "\n" this is an escape sequence the character following the backslash is parsed as it is in that location using its special meaning in this example a newline.