• 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

ques on keywords

 
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,
do we have to select const ,goto,true, false and null as java keywords if at all they appear in the ques list in the test???
these words are described differently at diff places.
 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In Java language, true and false are not (technically) keywords. They are called boolean literals. null is also not a keyword but a special literal called null literal.
But const and goto are keywords. They are not used in Java but reserved by Java. This helps a Java compiler to produce better error messages if these C/C++ keywords incorrectly appear in Java program.
I hope this helps.
Rajesh

[This message has been edited by Rajesh Radh (edited March 28, 2001).]
[This message has been edited by Rajesh Radh (edited April 04, 2001).]
 
preeti dengri
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi rajesh,
so i need not select any of them in case of a ques appear on keywords.are u sure???
thank you
 
Rajesh Radh
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Preeti,
"so i need not select any of them in case of a ques appear on keywords.are u sure???"
I did not understand your question well. I would not chose true/false/null as keywords in the real exam. Because, Sun knows better than us that they are not technically keywords.
Rajesh.

Originally posted by preeti dengri:
hi rajesh,
so i need not select any of them in case of a ques appear on keywords.are u sure???
thank you


 
preeti dengri
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi rajesh,
sorry if my ques was a little dubious.now i got the answer
thank you
reply
    Bookmark Topic Watch Topic
  • New Topic