\n
) and carriage return (\r
) character escape sequences used in string literals,
character literals or text blocks. These characters are commonly used as line separators, and portability may suffer if they are hardcoded.
Example:
String count = "first\nsecond\rthird";