Java reserves the following keywords:
-
abstract boolean break byte case catch char class const continue default do double else extends final finally float for goto if implements import instanceof int interface long native new package private protected public return short throw throws transient try void volatile while
-
Note goto is not allowed in Java but its still reserved!
-
null true and false are literals with special meaning but not keywords
|