A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
reserved and keywords
Joined: Mar 26, 2006
Apr 10, 2006 07:05:00
Differnce between reserved words and keywords?
Joined: Mar 28, 2006
Apr 10, 2006 07:10:00
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:
subject: reserved and keywords
Jai Question : 4 on keywords
Is null a keyword?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015