study guides for every class

that actually explain what's on your next test

Variable

from class:

AP Computer Science A

Definition

In programming, a variable is used to store and represent a value or piece of data. It has a name, a data type, and can hold different values that can be changed during the execution of the program.

"Variable" also found in:

Practice Questions (13)

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.