• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

"Words"

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a very genuine doubt for everyone here.
What is a "keyword" in Java.?
What are "reserved words" in java?
What are "reserved keywords" in java?
What are null,true and false?

In Simon Roberts goto and const are reserved he is telling.Then
is it a reserved keyword or reserved word?Come on let us discuss.

------------------
The Javix
 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is my understanding that keywords and reserved words are basically the same with one difference, some reserved words are not used by the language. In other words, all keywords are reserved, but not all reserved words are keywords. Some reserved words that are not keywords include byvalue, cast, const, future, generic, goto, inner, operator, outer, rest, and var. null, true, and false would be reserved keywords.
Someone please tell me if I'm wrong.
Todd
 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The following are not reserved words in Java: byvalue, cast, future, generic, inner, operator, outer, rest, or var. Also, const and goto are reserved words, but my understanding is that they have been referred to as keywords on the cert exam. It seems that reserved & keyword are used interchangably by the cert exam. Null, true, & false are correct as keywords. There are a bunch of other keywords. I'd recommend checking with an exam prep reference book to learn all of the keywords.
 
Javix Protocol
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Theresa and Todd i am alright now.:-)
 
Stinging nettles are edible. But I really want to see you try to eat this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic