Keywords in Java

Keywords are the words, whose meaning has already been defined. They can't be used as name of class, methods and variables.



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


Important In java "true","false" and "null" seems as keywords, because they also can't be used in program. But they are not keywords. they are reserved literals.