File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Java Keywords Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Java Keywords" Watch "Java Keywords" New topic

Java Keywords

Animesh Shrivastava
Ranch Hand

Joined: Jul 19, 2004
Posts: 298
If a question asks for what are not java keywords, and "true", "false" , "null" are few of the given options. Then we can blindly mark these as the correct options, because "true", "false" and "null" are reserved words and not keywords

am i right?
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
yes , they are reserved literals . They are not keywords . But like if you have question which one is not keyword in Java and you have options like 1] null 2] new 3] import 3] include .. then choose include as an answer ... although it will not be in the exam ....
Wasim Ayoubi
Ranch Hand

Joined: Nov 21, 2004
Posts: 46
Hi there

open this link, you'll find the answer there

Wasim Ayoubi<br />SCJA1.0(BETA), SCJP1.4, SCWCD1.4<br />Next ???
Jim Yingst

Joined: Jan 30, 2000
Posts: 18671
Practically speaking, the exam does not distinguish between keywords and reserved words. You won't be asked about either term - but you may be shown an example that won't compile because you've tried to use a keyword or reserved word as an identifier. So the distinction between the two doesn't matter, but you do need to know that both "for" and "true" are not allowed as identifiers.

"I'm not back." - Bill Harding, Twister
Animesh Shrivastava
Ranch Hand

Joined: Jul 19, 2004
Posts: 298
Thanks all,
So i expect such kinda questions not to appear in the exam.
Thanks again
I agree. Here's the link:
subject: Java Keywords
jQuery in Action, 3rd edition