Java Keywords

Keyword List

The following is a list of keywords in the Java programming language.

The following identifiers cannot be used as identifiers in a program. The keywords const and goto are currently not used, but they are reserved. true, false, and null may look like keywords, but they are actually literals. They cannot be used as identifiers in a program. All reserved words are lowercase.

abstract continue for new switch
assert*** default goto* package synchronized
boolean do if private this
break double implements protected throw
byte else import public throws
case enum**** instanceof return transient
catch extends int short try
char final interface static void
class finally long strictfp** volatile
const* float native super while
* Not used
** Added in version 1.2
*** Added in version 1.4
**** Added in version 5.0