Language Java Tutorial

Variables are data placeholders.
There are two data types in Java:
Reference types provides a reference to an object.
Primitive types hold a primitive.