This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring 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.
I agree. Here's the link:
subject: keywords
It's not a secret anymore!