二:java关键字和保留字

1、关键字{

abstract, assert,boolean, break, byte, case, catch, char, class, const, continue, default, do, double, else, enum,extends, final, finally, float, for, if, implements, import, instanceof, int, interface, long, native, new,package, private, protected, public, return, short,static, strictfp, super,switch, synchronized,this, throw, throws, transient,
try, void, volatile, while

}

2、保留字{

byValue, cast, false, future, generic, inner, operator, outer, rest, true, var , goto ,const,null

}

具体的参考:

https://www.cnblogs.com/chenglc/p/6922834.html

猜你喜欢

转载自www.cnblogs.com/HaveChen/p/11451399.html
今日推荐