Java Keywords At A GlanceS2C Home   « Java Keywords At A Glance

The tables below list all the java and java keywords available on the Java platform. Click on a link to go to example usage of that keyword for the Java version required.

For keywords such as break and continue, which can be present in differnt loop or conditional constructs we show first usage of the keyword in question:

Keywords marked with an asterisk (*) are not used.

Naming Rules and Keywords

This rule applies to all variables, as well as classes and methods (collectively known as identifiers)

  • You cannot use any of the keywords specified in the tables below when creating your own identifiers.

java Keywords

Keywords marked with an asterisk (*) are not used.

Click a link in the table below to show lesson usage for any java keyword you're interested in.


java Keywords
abstractassertbooleanbreakbytecasecatchcharclassconst *
continuedefaultdodoubleelseenumextendsfinalfinallyfloat
forgoto *ifimplementsimportinstanceofintinterfacelongnative
newpackageprivateprotectedpublicreturnshortstaticstrictfpsuper
switchsynchronizedthisthrowthrowstransienttryvoidvolatilewhile

java Documentation

java comes with very rich documentation that you will go back to time and again and the keywords listed in the table above are just scratching the surface. The following link will take you to the online version of documentation for the JavaTM 2 Platform Standard Edition 5.0 API Specification. I suggest adding this link to your browser's favourites toolbar for fast access.


java Keywords

Keywords marked with an asterisk (*) are not used.

Click a link in the table below to show lesson usage for any java keyword you're interested in.


java Keywords
abstractassertbooleanbreakbytecasecatchcharclassconst *
continuedefaultdodoubleelseenumextendsfinalfinallyfloat
forgoto *ifimplementsimportinstanceofintinterfacelongnative
newpackageprivateprotectedpublicreturnshortstaticstrictfpsuper
switchsynchronizedthisthrowthrowstransienttryvoidvolatilewhile

java Documentation

java comes with very rich documentation that you will go back to time and again and the keywords listed in the table above are just scratching the surface. The following link will take you to the online version of documentation for the Java™ Platform, Standard Edition 6 API Specification . I suggest adding this link to your browser's favourites toolbar for fast access.


go to home page Homepage go to top of page Top