Page 1 of 1

About com.enthuware.ets.scjp.v6.2.7 - Java keywords

Posted: Tue Oct 11, 2011 11:58 am
by Guest
com.enthuware.ets.scjp.v6.2.7 Question 42
Which of these are keywords in Java? Select 4 options

default
NULL
String
throws
long
strictfp

I selected: default, throws, long, strictfp. But the answere says that String is a keyword and long is not.

I tried String String; and it compiled but long long; didn't

Re: Java keywords

Posted: Tue Oct 11, 2011 3:34 pm
by admin
I just verified the question. long is indeed marked as a correct option and String as incorrect.