Java的關鍵字和保留字
阿新 • • 發佈:2019-01-31
1、關鍵字:
abstract, assert, boolean, break, byte, case, catch, char, class, const(保留關鍵字), continue, default, do, double, else, enum, extends, final, finally, float, for,goto(保留關鍵字), 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