๐Ÿ’ปap computer science a review

Line Break

Written by the Fiveable Content Team โ€ข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโ€ขWritten by the Fiveable Content Team โ€ข Last updated September 2025

Definition

A line break is a special character used to insert a new line or start on a new line within a string. In most programming languages, the common escape sequence for creating line breaks is "\n".