⌨️ap computer science principles review

Strings

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

Definition

In programming, strings are sequences of characters enclosed in quotation marks. They are used to represent text and allow manipulation of words, sentences, or any other textual information within a program.