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 variable name is a unique identifier that is used to store and refer to a value in a program. It must follow certain rules, such as starting with a letter or underscore, and cannot be a reserved keyword.
Related terms
Data type: The data type of a variable determines the kind of value it can hold, such as integers, strings, or booleans.