HELP! * GREY=local LOCAL HTML version of Foils prepared January 8,96

Foil 29 Java Language -- Lexical Issues

From Overview of Java SC95 Tutorial on Web Technologies -- December 4,95. by NPAC Team * See also color IMAGE

Lexical structure inherits a lot from C/C++. There are however some notable differences which are listed below.
Java characters are based on 16--bit wide Unicode Worldwide Character Encoding rather than the usual 8--bit wide ASCII.
Three types of comments are supported:
  • // ignore all till the end of this line
  • /* ignore all between starts */
  • /** an insert into an automatically generated software documentation */
Java reserves the following keywords:
  • abstract boolean break byte byvalue case catch class const continue
  • default do double else extends false final finally float for goto
  • if implements import instanceof int interface long native new null
  • package private protected public return
  • short static super switch synchronized
  • this threadsafe throw transient true try void while



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 Tue Feb 18 1997