• 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

Help-keywords&reserved words

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Will somebody make it clear so as to what should be keywords and reserved words?According to the JLS, null ,true and false should be literals.But if these words appear on the exam in a question asking us to mark keywords,what should be the answer?
Secondly is "strictfp" a keyword or reserved?
I also read a tutorial somewhere that all these words should be considered as keywords on the exam(this will surely put off the purists,including me.
Forgive me maha,ajith and the gang).
Please help me as I am appearing for the exam tomorrow.
------------------
Come on in!!Drinks are on the house in the Big Moose Saloon!!
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Anybody who knows the answer to this please reply.I am giving the exam tomorrow.I will be grateful to anybody who replies.
Thanks in advance.
------------------
Come on in!!Drinks are on the house in the Big Moose Saloon!!
 
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't worry so much about the distinction between the two - the test will not be on which is which. If you get a question on this, it will probably be of the nature of "which of the following are Java keywords" and then lists some choices, all of which should be obvious if you have done some study. Remember that keywords are all lower case ONLY! Thus you might get a choice like "TRUE", but you almost definitely won't get an option of "true". And most of all, don't panic! The test isn't too hard if you did your homework!
 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi udyan,
Acording to my knowledge strictfp is a reserved word in java
used for future use and also true,null,false are keywords.
-mohan
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic