Java Programming Language Keywords
Table 64 lists all the keywords in alphabetical order. These words are reserved; that is, you cannot use any of them as names in your programs. Note that true, false, and null are not keywords but rather reserved words, so you cannot use them as names in your programs either.
abstract |
double |
int |
strictfp [**] |
boolean |
else |
interface |
super |
break |
extends |
long |
switch |
byte |
final |
native |
synchronized |
case |
finally |
new |
this |
catch |
float |
package |
throw |
char |
for |
private |
throws |
class |
goto [*] |
protected |
transient |
const [*] |
if |
public |
try |
continue |
implements |
return |
void |
default |
import |
short |
volatile |
do |
instanceof |
static |
while |
[**] Indicates a keyword that was added to the Java 2 Platform.
[*] Indicates a keyword that is not currently used.