Variables
A variable provides us with named storage that our programs can
manipulate. Each variable in Java has a specific type, which determines
the size and layout of the variable's memory; the range of values that
can be stored within that memory; and the set of operations that can be
applied to the variable.
You must declare all variables before they can be used. The basic form of a variable declaration is shown here:
...