Variables

  • 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.
  • To declare more than one variable of the specified type, you can use a comma-separated list.

Variables — Structure map

Clickable & Draggable!

Variables — Related pages: