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.
- Pass Master CIW Enterprise Developer in first attampt.
- Pass SUN scbcd - SCBCD
- Get certified in first attempt download scdjws - SCDJWS simulation.
- Click here to download scja test study guide and practice question.
- Click here to download scjp test study guide and practice question.
- Get certified in first attempt download scjp-5-0 - SCJP 5/6 simulation.
- Download free practice test for SUN SCMAD exam.
- Click here to download scwcd test study guide and practice question.
- Get certified in first attempt download 310-035 - SCJP 2 simulation.
- 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.
- Download free practice test for CX310-056 SCJP 5.0 Java Upgrade exam.
- Pass SCJP Upgrade in first attampt.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.