Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes keywords Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "keywords" Watch "keywords" New topic


sam mathew

Joined: Dec 15, 2000
Posts: 13
I would like to know whether true, false and null are keywords.
As per,
(which is a sunsite), these three words are not listed as keywords..
Gerry Timmermans

Joined: Dec 15, 2000
Posts: 10
According to Brogden's "Java 2 Sun Certified Java Programmer" exam prep true, false & null are java reserved words. It classifies them as special literal values but they're listed in the same table with all the other java keywords.
bill bozeman
Ranch Hand

Joined: Jun 30, 2000
Posts: 1070
They are reserved words, but not keywords.
Ash Rai
Ranch Hand

Joined: Dec 15, 2000
Posts: 34
So finally what is to be done when we are asked to select keywords from a list?
says that even though they are not keywords we should select them!!
2.RHE says they are keywords.
3.SUN site does not.
4.Khalid Mughal says they are reserved literals!!
I am really confused!!
Angela Poynton
Ranch Hand

Joined: Mar 02, 2000
Posts: 3143
Have you looked at the FAQ?

Pounding at a thick stone wall won't move it, sometimes, you need to step back to see the way around.
Have you tried LearnNowOnline?
subject: keywords