• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

NEW KEYWORDS?????????

 
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Those mentioned words are not keywords, can freely use anywhere.
Regards
Balaguru
 
Harpal Singh
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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






















 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The jls mentions strictfp as a keyword.
Some book also mentions widefp as a keyword.
 
Ranch Hand
Posts: 3141
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys,
The best place to verify keywords is the JLS. Look here http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html#229308. It's the official keyword list in the JLS.
Hope that helps.
------------------
Jane
 
arch rival
Posts: 2813
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
==================================================================
 
Leverager of our synergies
Posts: 10065
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Almost as good as JavaRanch


Thank you, Marcus!
Friends, Marcus' tutorial is VERY good and VERY useful... Highly recommended...
Seriously!
 
Harpal Singh
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
GEE,thanks Marcus,Madhu.......I think the best way to know is just try it out,if compiler gives the error...........
thanks a ton to everyone,
Harpal
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
Don't worry.These are not keywords and u can freely use them.
 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes, i also found these words in Exam Cram, but i simple don't think they are reserved in java.
rong
 
eat bricks! HA! And here's another one! And a tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic