Every computer language uses some reserved words known as keywords. They are an essential part of the language. In Java, keywords are defined in lower case and cannot be used as identifiers. The table below shows the list of keywords used in the Java language:
| abstract | assert | boolean | break | byte | case | catch |
| char | class | const | continue | default | do | double |
| else | extends | final | finally | float | for | goto |
| if | implements | import | instanceof | int | interface | long |
| native | new | package | private | protected | public | return |
| short | static | strictfp | super | switch | synchronized | this |
| throw | throws | transient | try | void | volatile | while |
| enum |
The keywords ‘const’ and ‘goto’ have not yet been implemented in Java. Java has reserved them for use in future expansion of the language.
- Become CIW Master CIW Enterprise Developer certified.
- Best exam simulation SUN scbcd download free trial.
- Pass SCDJWS in first attampt.
- Click here to get free scja SCJA exam practice questions.
- Download free practice test for SUN SCJP exam.
- Pass SUN scjp-5-0 - SCJP 5/6
- Best exam simulation SUN scmad download free trial.
- Click here to download scwcd test study guide and practice question.
- Click here to download 310-035 test study guide and practice question.
- Click here to download CX310-019 test study guide and practice question.
- Click here to get free CX310-055 Java 5.0 exam practice questions.
- Click here to get free CX310-056 SCJP 5.0 Java Upgrade exam practice questions.
- Best exam simulation SUN CX310-066 download free trial.