Java Keywords or Reserved Words (52)for jdk1.4
| abstract | do | if | package | synchronized |
| boolean | double | implements | private | this |
| break | else | import | protected | throw |
| byte | extends | instanceof | public | throws |
| case | false | int | return | transient |
| catch | final | interface | short | true |
| char | finally | long | static | try |
| class | float | native | strictfp | void |
| const | for | new | super | volatile |
| continue | goto | null | switch | while |
| default | assert |
Keywords for data types are:
boolean byte char int long short float double
Keywords for access control are:
private protected public
Keywords for modifiers are:
abstract final native private protected public
static transient synchronized volatile strictfp
See Modifier
Keywords for catch-exception are:
try catch finally throw
Keywords for loops or decision-makers are:
break case continue default do while for
switch if else
Keywords for class functions are:
class extends implements import instanceof
new package return interface
this throws void super
Keywords for assigned values are:
true false null
Outdated keywords are:
const goto

浙公网安备 33010602011771号