Java Keywords

Keywords or reserved words in Java are shown in the table below. As a rule, these words cannot be used as names for variables or constants.

  • assert
  • abstract
  • break
  • boolean
  • case
  • byte
  • char
  • catch
  • const
  • class
  • default
  • continue
  • double
  • do
  • enum
  • else
  • final
  • extends
  • float
  • finally
  • goto
  • for
  • implements
  • if
  • instanceof
  • import
  • int
  • long
  • interface
  • new
  • native
  • private
  • package
  • protected
  • return
  • public
  • static
  • short
  • super
  • strictfp
  • synchronized
  • switch
  • throw
  • this
  • transient
  • throws
  • while
  • try
  • volatile
  • void

 

For any query or issue, feel free to discuss on http://discuss.eduguru.in