Valid XHTML 1.0!

Java Keywords


The following is the complete list of keywords.
In java, keywords are the character sequences reserved for use and hence cannot be used as identifiers.


abstract do import public transient
boolean double instanceof return try
break else int short void
byte extends interface static volatile
case final long super while
catch finally native switch
char float new synchronized
class for package this
continue if private throw
default implements protected throws


The keywords const and goto are reserved, even though they are not currently used anywhere in java. The keywords true and false are actually boolean literals; also, the keyword null is the null literal. These too cannot be used as identifiers.