要点1:java语言中共有51关键字和保留字

abstract   

boolean  break  byte

case cache char class const continue

default do double

else extends

false final finally float for

goto

if implements import instanceof int interface

long

native null

package private protected public

return

short static strictfp super switch synchronized

this throw throws transient true try

void volatile

while

要点2:goto和const是保留字,尽管在Java语言中未被使用,但程序员不能将其作为标识符。

要点3:Java语言中规定,标识不能使用规定的关键字和保留字,并且标识符只能以字母、$或_开头,随后的字符只能是字母、$和数字