⌨️ap computer science principles review

Variables

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

Variables are containers that hold values or data in a computer program. They can store different types of information such as numbers, text, or boolean values.