Java has two fundamental categories of types: primitives (simple values stored directly) and reference types (objects, where the variable holds a reference/pointer to the object). They behave very differently in memory, assignment, and comparison.
The 8 primitive types
;
;
;
;
;
;
;
;
