- Keywords are predefined identifiers reserved by Java for a specific purpose.
- You cannot use keywords as names for your variables, classes, methods ... etc.
- Below is the list of the Java Keywords.
- abstract
- boolean
- break
- byte
- bytevalue
- case
- catch
- char
- class
- const
- continue
- default
- do
- double
- else
- extends
- false
- final
- finally
- for
- goto
- if
- implements
- import
- instanceof
- int
- interface
- long
- native
- null
- package
- private
- protected
- public
- return
- short
- static
- super
- switch
- synchronized
- this
- threadsafe
- throw
- transient
- true
- try
- void
- while