It's not a secret anymore!*
The moose likes Beginning Java and the fly likes reserved and keywords Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "reserved and keywords" Watch "reserved and keywords" New topic
Author

reserved and keywords

sai donthneni
Ranch Hand

Joined: Mar 26, 2006
Posts: 50
Differnce between reserved words and keywords?
Oscar Gonzalez
Ranch Hand

Joined: Mar 28, 2006
Posts: 63
A reserved word is a word that is reserved for special use by the language. Reserved words are system identifiers and cannot be used by the programmer as a user identifier.

Technically a keyword is a reserved word that is currently used by the language with a special purpose.

Therefore all keywords are reserved words, however some reserved words are not keywords yet. The may be so at a later date.

For example, const and goto are reserved words and not keywords yet, they are reserved for later use.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: reserved and keywords
 
Similar Threads
Is null a keyword?
about keywords
keyword
keywords
Jai Question : 4 on keywords