💻ap computer science a review

Escape Sequence

Written by the Fiveable Content Team • Last updated August 2025
Verified for the 2026 exam
Verified for the 2026 examWritten by the Fiveable Content Team • Last updated August 2025

Definition

An escape sequence is a combination of characters that represents a special character and is used to perform certain actions within a string. It begins with a backslash (\) followed by one or more characters.

"Escape Sequence" also found in:

2,589 studying →