File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes keyword 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 "keyword" Watch "keyword" New topic
Author

keyword

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Is null a key word???
are true & false keywords??
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
Originally posted by javaji:
Is null a key word???
are true & false keywords??

No, none of these are keywords, keywords are modifiers, operators, primitive datatypes etc.
null, true and false are literal values just like 1 or 2.0 (an integer and double literal). Since they are literal values, the are also reserved words which means that you cannot use them as identifiers.

I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
 
jQuery in Action, 2nd edition
 
subject: keyword
 
Similar Threads
WA #1.....word association
Key Words
Is "null" a keyword in Java?
Whats the difference between keywords and reserved words
Tips to create this method