Keywords are the special reserved words whose meaning has already been explained to the Java compiler.
Compiler uses them to figure out what your source code is trying to do.
Keywords cannot be used as identifiers (names) class,methods or variables.
Here is the list of keywords in the Java programming language.
abstract | continue | for | new | switch |
assert | default | goto | package | synchronized |
boolean | do | if | private | this |
break | double | implements | protected | throw |
byte | else | import | public | throws |
case | enum | intanceof | return | transient |
catch | extends | int | short | try |
char | final | interface | static | void |
class | finally | long | strictfp | volatile |
const | float | native | super | while |