Dear guys, I have a concern regarding new keywords,there are keywords mentioned in some books,which are unheard of,can anyone clarify if the following come in the exam ,what to do....... 1)cast 2)operator 3)var 4)future 5)outer 6)rest 7)generic 8)byvalue 9)threadsafe Please let everyone know for benefit of people taking the exam in future. thanks, Harpal
balaguru
Greenhorn
Joined: Oct 19, 2000
Posts: 4
posted
0
Hi, Those mentioned words are not keywords, can freely use anywhere. Regards Balaguru
Harpal Singh
Ranch Hand
Joined: Oct 10, 2000
Posts: 229
posted
0
Dear bala, I noted these key words from a book by author balagurswamy......It mentions that these are new keywords........I am confused,according to JLS,they are not I agree but just in case......... By the way are you the same balagurswamy,author of the book....... Harpal
Thomas Misik
Greenhorn
Joined: Sep 30, 2000
Posts: 16
posted
0
Java Keywords:
abstract; boolean; break; byte; case; catch; char; class; const*; continue; default; do; double; else; extends; final; finally; float; for; goto*; if; implements; import; instanceof; int; interface; long; native; new; null; package; private; protected; public; return; short; static; super; switch; synchronized; this; throw; throws; transient; try; void; volatile; while; The words with asterisks are reserved and not currently used. Note that all of the keywords are in lowercase, thus for is a keyword but FOR is not. There is some debate as to if null is a keyword but I suggest that for the purposes of the exam you assume it is.
These have been taken directly from Marcus Green's tutorials, whick I have found to be a great help; it's compact, consice and informative. However, I have not heard of any new keywords (I'm pretty sure there aren't any). Hope this helps, Thomas
Ragini Kelkar
Greenhorn
Joined: Oct 19, 2000
Posts: 9
posted
0
The jls mentions strictfp as a keyword. Some book also mentions widefp as a keyword.
My stuff tends to comment on what turns up in the exam, I recommend the JLS (available online from somewhere) as the final word. Also try compiling the following, insert suspected keywords and season to taste. public class Key{ public static void main(String argv[]){ int strictfp =1;
} }
------------------ http://www.jchq.net Mock Exams, FAQ, Tutorial, Links, Book reviews ================================================================== Almost as good as JavaRanch ==================================================================