This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
"Bill Brogden - Java 2 exam cram" says following are reserved words but not used, they are reserved for future. byvalue, future, inner, rest, cast, generic, operator, var, outer. I tried to look other references to varify this but could not find it. I tried compiling some programs using these words as variables and could compile the in jdk1.2.2. Can some one provide some references/insight on this. Thank you in advance, Vijay
maha anna
Ranch Hand
Joined: Jan 31, 2000
Posts: 1467
posted
0
Vijay, Bill's errata page has this updated list of keyword. Please refer to this The extra words given from Bill brogden will not be asked in the Exam in my opinion. He also dropped all the confusion in his updated list. regds maha anna Here's a list of Java's keywords from Sun. These words are reserved--you cannot use any of these words as names in your Java programs. true, false, and null are not keywords but they are reserved words, so you cannot use them as names in your programs either. abstract double int strictfp ** boolean else interface super break extends long switch byte final native synchronized case finally new this catch float package throw char for private throws class goto * protected transient const * if public try continue implements return void default import short volatile do instanceof static while
* indicates a keyword that is not currently used ** indicates a keyword that was added for Java 2
[This message has been edited by maha anna (edited April 13, 2000).]