 |
Primitives are the only non-Object data types in Java. The Java Language Specification states:
Primitive values do not share state with other primitive values. A variable whose type is a primitive type always holds a primitive value of that same type. The value of a variable of primitive type can be changed only by assignment operations on that variable.
See also: boolean, byte, char, int, short, long, float, double.
Discussion about Primitive
|