Trail: Learning the Java Language
|
Lesson: The Nuts and Bolts of the Java Language
|
|
Java Language Keywords
Here's a list of Java's keywords. These words are reserved--you cannot
use any of these words as names in your Java programs.
abstract | double | int | static |
boolean | else | interface | super |
break | extends | long | switch |
byte | final | native | synchronized |
case | finally | new | this |
catch | float | null | throw |
char | for | package | throws |
class | goto * | private | transient |
const * | if | protected | try |
continue | implements | public | void |
default | import | return | volatile |
do | instanceof | short | while |
* indicates a keyword that is not currently used
|