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

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
Guest

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

Post 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

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: Java keywords

Post by admin »

I just verified the question. long is indeed marked as a correct option and String as incorrect.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 48 guests