• Post Reply Bookmark Topic Watch Topic
  • New Topic

abt the list of key words  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dear sir
i want to know how many keywards are total as far i think there
are 48 keywords and i want to know how many reserved words are there.What are true,false and null called as?
 
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out the answers to Questions 13 and 14 at JavaRanch's very own SCJP FAQ.
The keywords are listed here.
And as Angela Poynton explains at the JavaRanch FAQ, in answer to the question, "Are true, false, and null keywords?",

"true", "false" and "null" are reserved words, so even though you cannot use them as variable, class or method names, they are NOT Keywords.


Art
 
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
1. There are 48 keywords in java.
2. Among these 48 keywords ... there are 2 reserved keywords .. i.e goto,const
3. and there are 3 reserved words .. true,false,null
Hope that helps
Samith.P.Nambiar
-----------------------------------------
The harder u try the luckier u get
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your name 'dipak' does not comply with the JavaRanch naming policy. Please spare a moment and re-register with a name that meets the requirements. We will take care of deleting your current login.
Thanks!
Ajith
 
WARNING! Do not activate jet boots indoors or you will see a tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!