This is the reference section for the reserved words that are used in the Java programming language.
| Symbol | Description | Links |
|---|---|---|
| abstract | designates classes that are not instantiated | |
| assert | used to test that a condition is true | |
| boolean | a primitive logical data type | |
| break | used to exit a loop or switch | |
| byte | a primitive byte-length integer data type | |
| case | designates a branch of a switch statement | |
| catch | used to create an exception handler branch | |
| char | a primitive 2 byte-length character data type | |
| class | designates a programmer-defined data type | |
| const | not used | |
| continue | jump to the end of the loop | |
| default | designates the default branch of a switch statement | |
| do | designates the beginning of a do-while loop | |
| double | a primitive 8 byte-length floating-point data type | |
| else | designates the remaining branch of an if statement | |
| enum | used to defined an enumerated type | |
| extends | designates that class inherits another class | |
| false | one of the two boolean literal values | |
| final | designates that a class cannot be inherited, a method cannot be overridden, or a variable value cannot be changed | |
| finally | designates a default handler for all branches of an exception handler | |
| float | a primitive 4 byte-length floating-point data type | |
| for | designates the beginning of a for-loop | |
| goto | not used | |
| if | designates the beginning of a conditional statement | |
| implements | designates that a class inherits an interface | |
| import | allows a classes from another package to be used | |
| instanceof | used to test whether an object is an instance of a particular class | |
| int | a primitive 4 byte-length integer data type | |
| interface | designates a programmer-defined set of methods | |
| long | a primitive 8 byte-length integer data type | |
| native | designates a native method that must be linked | |
| new | designates a dynamic memory allocation | |
| null | a constant, literal object value that indicates no object | |
| package | used to group a set of related code | |
| private | the tightest access specifier | |
| protected | the medium access specifier | |
| public | the loosest access specifier | |
| return | used to exit the execution of a function | |
| short | a primitive 2 byte-length integer data type | |
| static | designates a class method or variable | |
| strictfp | designates that floating-point computations must be truncated | |
| super | refers it the immediate inherited class | |
| switch | designates the start of a branching statement | |
| sychronized | designates a method that can only be accessed by one thread at a time | |
| this | used by an object to refer to itself | |
| throw | used to signal an exception condition | |
| throws | specifies conditions that must be handled when the function is called | |
| transient | an instance variable that does not affect the state of an object | |
| true | one of the two boolean literal values | |
| try | designates a tested section of an exception handling block | |
| void | designates that there is to be no data type used | |
| volatile | designates that a variable may be changed unexpectedly | |
| while | designates the testing condition of a while or do-while loop |
© 20072025 XoaX.net LLC. All rights reserved.