* Be equal to a reserved keyword, null literal or [[Boolean data type|booleanBoolean]] literal.
===Keywords===
Line 841:
==Primitive types==
Primitive types in Java include integer types, floating-point numbers, [[UTF-16]] code units and a booleanBoolean type. There are no unsigned types in Java except <code>char</code> type, which is used to represent UTF-16 code units. The lack of unsigned types is offset by introducing unsigned right shift operation (<code>>>></code>), which is not present in C++. Nevertheless, criticisms have been leveled about the lack of compatibility with C and C++ this causes.<ref>{{cite web|url=http://darksleep.com/player/JavaAndUnsignedTypes.html|first=Sean|last=Owens|title=Java and unsigned int, unsigned short, unsigned byte, unsigned long, etc. (Or rather, the lack thereof)}}</ref> <!-- This is a terrible citation. If you have a better one, use it. -->