This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "keywords" Watch "keywords" New topic
Author

keywords

sam mathew
Greenhorn

Joined: Dec 15, 2000
Posts: 13
I would like to know whether true, false and null are keywords.
As per http://java.sun.com/docs/books/jls/html/3.doc.html#229308,
(which is a sunsite), these three words are not listed as keywords..
Gerry Timmermans
Greenhorn

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.
Gerry
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
Hi!
So finally what is to be done when we are asked to select keywords from a list?
1. http://enthuware.com/jqplus/FAJQuestions.html
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? www.javaranch.com/certfaq.jsp


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: http://aspose.com/file-tools
 
subject: keywords
 
Similar Threads
fundamentals
null , true , false
main()
Iam getting conflicting info please help
Keywords and Reserved words