There are total 52 Keywords in Java. These are the following keywords :
| abstract | assert | boolean | break |
|---|---|---|---|
| byte | case | catch | char |
| class | const | continue | default |
| do | double | else | enum |
| extends | final | finally | float |
| for | goto | if | implements |
| import | instanceof | int | interface |
| long | native | new | package |
| private | protected | public | record |
| return | short | static | strictfp |
| super | switch | synchronized | this |
| throw | throws | transient | try |
| var | volatile | while | yield |