This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: keyword