Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can I choose "null", "true", "false" as keywords in real 1.4exam?

 
sam huang
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think all of them are reserved words.am I right?
Thanks in advance.
Sam
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
from the SCPJ 1.4 objectives
Identify all Java programming language keywords. Note: There will not be any questions regarding esoteric distinctions between keywords and manifest constants.

... manifest constants meaning true and false and null
check out the JLS for a complete list -- also for 1.4 -- don't forget that assert is also a keyword
 
David Brafford
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the past, Kathy has stated that if these
( reserved words ) were seen in a keyword
question, to answer it as a keyword. She also
stated / hinted that you would not see that in
a keyword question. For the 1.2 based exam, I'd
say that is still good advice.
The words in the 1.4 objectives that Jessica
sites are directed at exactly this situation.
The intent of the exam is not to have tricky
questions ( find the 3 reserved words out of
the list of keywords/non keywords ). Although
some questions can be tricky, the intent or
purpose of the question is not to be tricky
( I overloaded again! ).
Dave Brafford
-------------------
Subscribe to the Java Certification Report Newsletter
http://www.enterprisedeveloper.com/subscribe.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic