Character literals that are escape sequences in Java

‘b’ the backspace character
‘t’ the tab character
‘\’ the backslash
”’ single quote
‘”‘ double quote
‘n’ linefeed
‘r’ carriage return

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.