DEV Community

Brandon Rozek
Brandon Rozek

Posted on • Originally published at brandonrozek.com on

Escape Sequences in Java

Sometimes you want to format your outputs. This is a quick cheatsheet containing the differerent escape sequences

Character Escape Sequence
Newline \n
Tab \t
Backspace \b
Double Quote
Single Quote
Backslash \

Top comments (0)