The Source for Java Technology Collaboration


Home | Help | Changes | Index | Search | Go

Primitive

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

Topic Primitive . { Edit | Ref-By | Printable | Diffs r3 < r2 < r1 | More }
 XML java.net RSS

Revision r3 - 31 Aug 2003 - 03:27:00 - Main.redwolf
Parents: WebHome > Glossary