aspose file tools*
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
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
It is sorta covered in the JavaRanch Style Guide.
subject: are true,null,false reserved words ?