by Michael Thomas
by Michael Thomas
Topic | Notes | ||||
Java's Reserved
Words (alphabetical order) Keyword - is a reserved word that is used by the language. * - not used yet |
|
||||
Reserved words are case sensitive. | Warning:
Java is case sensitive. Example: "null" is a keyword but "NULL" is not!!! |
||||
Reserved, not a keyword yet. | Reserved word, but not a
keyword (as of 1.2)
Became a keyword as of 1.1
|
||||
Reserved Word vs Keyword. | 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. Example:
WARNING !!! on the exam consider the term keyword & reserved word to be synonomous. Therefore all "reserved words" can be called "keywords" ! |
||||
Not Keywords or Reserced words - tricky words that may be on the test! | Not Keywords or Reserved Words
|
||||