Many classes allow inclusion of escape sequences in character and string literals; examples include Pattern
as well as classes that support XML- and SQL-based actions by passing string arguments to methods. According to the Java Language Specification [JLS 20052011], Section 3.10.6, "Escape Sequences for Character and String Literals"
...