3.9. Keywords

50 character sequences, formed from ASCII letters, are reserved for use as keywords and cannot be used as identifiers (§3.8).

Keyword: one of

abstract   continue   for          new         switchassert     default    if           package     synchronizedboolean    do         goto         private     thisbreak      double     implements   protected   throwbyte       else       import       public      throwscase       enum       instanceof   return      transientcatch      extends    int          short       trychar       final      interface    static      voidclass      finally    long         strictfp    volatileconst      float      native       super       while

The keywords const and goto are reserved, even though they are ...

Get The Java® Language Specification, Java SE 7 Edition, Fourth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.