aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes true, false, null keyword or ???? 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 "true, false, null keyword or ????" Watch "true, false, null keyword or ????" New topic
Author

true, false, null keyword or ????

Suman Nagelia
Greenhorn

Joined: Mar 17, 2003
Posts: 9
Hi,
Can anyone tell me specifically for the purpose of exam whether we should conside true, false and null as keyword or not? As in some books it's listed under keywords.
Plese help me out.
Thanks
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

check out this objective from the 1.4 exam:
SECTION 4: LANGUAGE FUNDAMENTALS
Identify all Java programming language keywords. Note: There will not be any questions regarding esoteric distinctions between keywords and manifest constants.
in other words -- don't worry about it, for the purpose of the exam assume they are keywords.


- Jess
Blog:KnitClimbJava | Twitter: jsant | Ravelry: wingedsheep
Suman Nagelia
Greenhorn

Joined: Mar 17, 2003
Posts: 9
Thanks a lot.
Luciano Queiroz
Ranch Hand

Joined: Feb 04, 2002
Posts: 172
null, true, false >>> are NOT considered keywords!
They are literals!


<b>Luciano Queiroz</b><br/>
 Brazil<br/>
 <i>SCJP 1.2, SCWCD, IBM 141, IBM 483, SCJP 1.4, IBM 484, IBM 287, SCBCD, SCEA, SCJP 5.0, SCJP 6.0, SCWCD 5</i>
Suman Nagelia
Greenhorn

Joined: Mar 17, 2003
Posts: 9
So Luciano you mean to say I shouldn't consider them as keyword for purpose of exam.
Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
Originally posted by Suman Nagelia:
So Luciano you mean to say I shouldn't consider them as keyword for purpose of exam.

Regardless of what they really are, for the sake of the exam, you will not have to differentiate between literals and keywords in terms of true, false, and null.


SCJP Tipline, etc.
 
wood burning stoves
 
subject: true, false, null keyword or ????