Java Keywords
Keywords are words (or sequences of
characters, if you want to get technical) that have a specific meaning in Java.
You cannot use them as identifiers because they belong to the Java language itself. You may not
use any of these reserved words as names of classes, variables, or
constants. However, because Java is case sensitive you could, for
example, create a class called For,
which is not the same thing as for. But this is a very bad idea from the
standpoint of readability.
abstract boolean break byte case
cast catch char class const
continue default do double else
extends final finally float for
future generic goto if implements
import inner instanceof int interface
long native new null operator
outer package private protected public
rest return short static super
switch synchronized this throw throws
transient try var void volatile
while
Although
they are reserved words, true and false are not listed in the above as
keywords. That is because technically
they are boolean literals.