Basic HTML version of Foils prepared 18 May 97

Foil 14 Java Language -- Lexical Issues II

From Java Tutorial - Spring 1997 Part II: Java Language and Object-Oriented Concepts Peking Tutorial, Web Certificate -- Spring-Summer 1997. by Nancy J. McCracken,Geoffrey C. Fox


1 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
2 Note goto is not allowed in Java but its still reserved!
3 null true and false are literals with special meaning but not keywords

in Table To:


© 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 Thu Jan 8 1998