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