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.
- Download free practice test for master-ciw-enterprise-developer Master CIW Enterprise Developer exam.
- Click here to get free scbcd SCBCD exam practice questions.
- Download free practice test for scdjws SCDJWS exam.
- Best exam simulation SUN scja download free trial.
- Download free practice test for SUN SCJP exam.
- Become SUN SCJP 5/6 certified.
- Best exam simulation SUN scmad download free trial.
- Best exam simulation SUN scwcd download free trial.
- Pass SUN 310-035 - SCJP 2
- Download practice question and study guide for CX310-019 for exam.
- Become SUN Java 5.0 certified.
- Download practice question and study guide for CX310-056 for exam.
- Pass SUN CX310-066 - SCJP Upgrade
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.
