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。
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。
本文详细介绍了Java中51个关键字及14个保留字的定义与用途,包括abstract到while等基本语法元素,以及Java保留字的概念与具体实例。

被折叠的 条评论
为什么被折叠?



