Basic HTML version of Foils prepared 9 Sept 1997

Foil 4 Java Language -- Lexical Issues II

From Java to be used in (Scientific) Computing Part II: Java Language and Object-Oriented Concepts Basic Simulation Track for Computational Science CPS615 -- Fall Semester 97. by Nancy J. McCracken,Geoffrey C. Fox


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 static super switch synchronized this
  • 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



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Feb 22 1998