Java基础之关键字
1, which of the following are keywords or reserved words in java? a) if b)then c)goto d)while e)case f)sizeof 2, which of the following are java key words? a)double b)Switch c)then d)instanceof 3, which of these are key words in java? a) default b)NULL c)String d)throws e)long f)true[@more@]答案来了 1,acde 2,ad 3,adef 解释来了 1,then和sizeof都不是java的关键字 2,所有的关键字都是小写的,所以Switch不是关键字。instanceof看上去像方法名,但其实是关键字; 3,大写的NULL不是java语言的