关键字const和goto保留,即使他们目前没有使用。true,false和null似乎是关键字,但它们实际上是常量; 你不能把它们作为你的程序的标识符。
abstract |
continue |
for |
new |
switch |
assert*** |
default |
goto* |
package |
synchronized |
boolean |
do |
if |
private |
this |
break |
double |
implements |
protected |
throw |
byte |
else |
import |
public |
throws |
case |
enum**** |
instanceof |
return |
transient |
catch |
extends |
int |
short |
try |
char |
final |
interface |
static |
void |
class |
finally |
long |
strictfp** |
volatile |
const* |
float |
native |
super |
while |
注:
- * 不曾用过
- ** 在1.2中加入
- *** 在1.4中增加
- **** 在5.0中加入
继续阅读与本文标签相同的文章
上一篇 :
程序员常用的16款软件,你get到了哪些软件?
下一篇 :
从大数据的角度来谈谈运维监控这件事儿
-
手机信号突然从“4G”变成“E”,是什么意思?客服给出答案
2026-05-14栏目: 教程
-
互联网架起“乌镇式生活”
2026-05-14栏目: 教程
-
微信才是内存“杀手”,别再乱清理,关闭这个功能,手机立马流畅
2026-05-14栏目: 教程
-
手机信号变成E是什么意思?看完专业人士给出的解释后,涨知识了
2026-05-14栏目: 教程
-
关于Word的四个隐藏办公小技巧,你可能一个也不知道,建议收藏!
2026-05-14栏目: 教程
