Variables and data types
A variable is a named, typed box, and the type fixes which values it can hold and what can be done with them, so int holds whole numbers, double real numbers and boolean true or false, while anything else is a reference type.
From AP Computer Science A.