Java keyword and reserved word(Java关键字和保留字)

Java 关键字列表 (依字母排序 共51组):
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
Java 保留字列表 (依字母排序 共14组) : Java保留字是指现有Java版本尚未使用 但以后版本可能会作为关键字使用。
byValue, cast, false, future, generic, inner, operator, outer, rest, true, var , goto ,const,null

注意:关键字=>keyword,保留字=>reserved word,保留字中有三个表示值的,true,false,null。

猜你喜欢

转载自can-do.iteye.com/blog/2251029