Java Language Keywords (overview)

So I’m trying to memorize the list of keywords in the Java programming language. You cannot use any of them as identifiers in your code. true, false, and null are not keywords. They are actually literals. Likewise, you cannot use them as identifiers in your code.

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

* reserved, currently not used

So, in all, there are 50 keywords to remember. To make it easier for myself I’ll study them in alphabetical group (i.e. 2 start with a; 3 start with b; 6 start with c; etc.).

Next, the A’s →

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.