# What is a Variable

A variable is a named place where your program remembers a value; declare it with a type and a name, give it a value, print it, and name it by Java's rules and conventions.

![Cheat sheet: What is a Variable](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/f18c002c5c874806b4c6baeb992ffbfc.webp)

- Category: Java
- Level: Novice
- Tags: java
- Updated: November 3, 2026

Source: https://www.ask-codey.com/cheat-sheets/working-with-variables-what-is-a-variable-cheat-sheet
