In Java some word are reserved to present some meaning or functionality.such type of words called reserved words.
We can't use reserve word as identifiers.
Key word for datatypes
| (8) | (11) | (11) | (6) | (5) | (4) | (1) | (3) | (2) | (1) |
|---|---|---|---|---|---|---|---|---|---|
| byte | if | public | try | class | new | void | true | go to | enum |
| short | else | private | catch | interface | instance of | false | const | ||
| int | switch | protect | finally | extends | super | null | |||
| long | case | static | throw | implements | this | ||||
| float | default | final | throws | package | |||||
| double | while | abstract | assert(1.4v) | import | |||||
| bollean | do | synochronised | |||||||
| char | for | native | |||||||
| break | strict to(1.2v) | ||||||||
| continue | transient | ||||||||
| return | volatile |