Java Keywords
abstract default if package synchronized assert do implements private this boolean double import protected throw break else instanceof public throws byte extends int return transient case false interface short true catch final long static try char finally native strictfp void class float new super volatile const for null switch while continue goto
const
and goto
are reserved words, they are not currently part of the Java
language. The above list is reasonably typical of the Java keyword
lists you will see in textbooks, though some contain a more extensive
list, which may include some, or all, of the following keywords
(or even additional ones). These keywords, like
const
and goto
,
are not currently
part of the language, but are "reserved for future use":
byvalue cast future generic inner operator outer rest var volatile
assert
is
new as of Java 1.4.