Home > Java > Keywords > Introduction
Introduction to Keywords
Every programming language has its syntax which is used to write programs. The syntax contains keywords. The keywords are internally used by the Java programming language. A keyword is a word that has its own special meaning in the Java language, and that meaning doesn’t change from one program to another. You cannot use keywords as identifiers (variable, class, method names etc) in your programs due to their special functions in the Java language.
Java programming language keywords are as follows:
| char | int | short | long | float |
| double | boolean | byte | new | class |
| this | super | if | else | switch |
| case | break | for | while | do |
| continue | default | public | private | protected |
| extends | interface | implements | throw | throws |
| try | catch | finally | package | import |
| Abstract | assert | synchronized | enum | instanceof |
| return | transient | final | static | void |
| strictfp | volatile | native |
Leave a Reply
Fields with * are mandatory.
