Fig. C.1. Java keywords.
Java also contains the reserved words true
and false
, which are boolean
literals, and null
, which is the literal that represents a reference to nothing. Like keywords, these reserved words cannot be used as identifiers.