Variables


“Containers” used to label and store data in memory. The data can then be used throughout a program:

* Integer variables use only numbers and so can be used for calculations
* String variables are sequences of code that may contain numbers, letters, and other characters, and so cannot be used for calculations.

« Back to Glossary Index