my dog learned polymorphism*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes are true,null,false reserved words ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "are true,null,false reserved words ?" Watch "are true,null,false reserved words ?" New topic

are true,null,false reserved words ?

manila naik

Joined: Aug 01, 2000
Posts: 10
I am new to the java programming.I am preparing for the certification exam.I read certification guide regarding this topics.some book says these are keywords,some does not.
what is right ?
please explain .
michael huang
Ranch Hand

Joined: Jul 30, 2000
Posts: 63
if you read JLS, it explain these are not keyword, they called literal.
false and true are Boolean literals,
null is null literal
I agree. Here's the link:
subject: are true,null,false reserved words ?
Similar Threads
Passed!! 98%
SCJP - Question on Networking?
I am a newbie and need some advice
I am a newbie and need some advice
WHat are Keys ? (plz Help)