星期日, 三月 04, 2007

java关键词和保留词

java关键词
abstract continue for new switch boolean
default goto null synchronized break do
if package this byte double implements
private threadsafe byvalue else import protected
throw case extends instanceof public transient
catch false int return true char
final interface short try class finally
long static void const float native
super while




java保留词
cast
future
generic
inneroperator
outer
rest
var
标识符不能与任何关键词相同。

没有评论: