保留字
概念:具有专门的意义和用途,不能当作一般的标识
符,这些标识符称为保留字 , 也称为关键字。
java 中的所有保留字(均用小写字母表示):
abstract , break , byte , boolean , catch , case , class ,
char , continue , default , double , do , else , extends ,
false , final , float , for , finally , if , import , implemen
ts , int , interface , instanceof , long , native , new , nul
l , package , private , protected , public , return , switch ,
synchronized , short , static , super , try , true , this , t
hrow , throws , transient , volatile,void , while 。
评论1