René Nyffenegger's collection of things on the web
René Nyffenegger on Oracle - Most wanted - Feedback -
 

keywords [JAVA]

Some identifiers have a special meaning: the keywords.
They are:
  • abstract
  • boolean
  • break
  • byte
  • case
  • catch
  • char
  • const (not being used)
  • continue
  • default
  • do
  • double
  • else
  • extends
  • final
  • finally
  • float
  • for
  • goto (not being used)
  • if
  • implements
  • import
    An import statement is only valid in the 2nd part of a source file.
  • instanceof
  • int
  • interface
  • long
  • native
  • new
  • private
  • protected
  • public
  • return
  • short
  • static
  • strictfp (added in Java 2)
  • super
  • switch
  • synchronized
  • this
  • throw
  • throws
  • transient
  • try
  • package
    A package statement is only valid in the 1st part of a source file.
  • void
  • volatile
  • while
Additionally, null, true and false are reserved literals.