Java Keywords List


Table 2.2: Java Keywords

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


Beside these keywords, you cannot also use $\lstinline{true, false}$ and $\lstinline{null}$ as identifiers. It is because they are literals. You will learn about literals in forthcoming sections.