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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.