File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
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.
It is sorta covered in the
JavaRanch Style Guide
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