Java Keywords
Java keywords are reserved words with specific meanings in the Java programming language. These keywords are part of the Java syntax and cannot be used for naming variables, methods, classes, or other identifiers. If you try to use Java keywords as variable names, the compiler will produce errors.
Here is the full list of Java keywords:
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 | instanceof | return | transient |
catch | extends | int | short | try |
char | final | interface | static | void |
class | finally | long | strictfp | volatile |
const | float | native | super | while |