Primitive data types

Java has two different data types: Primitive Types and Reference Types.
Primitive types are passed to and from methods ‘by value’ which means that each time a primitive type is passed as argument, a new value is created on the stack.
Reference types are instances of classes (objects) and are handled in another section.

Java has eight primitive types:

Search for more Java info on this site here:
Custom Search

Any thoughts or questions?