⌨️ap computer science principles review

String

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

A string is a data type in programming that represents a sequence of characters. It can store letters, numbers, symbols, and even empty spaces.

String Definition - AP Computer Science Principles Key Term | Fiveable