Java language keywords
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ehtesham_Siddiqui
Posted On:   Thursday, June 20, 2002 11:54 AM

While preparing for the SCJP exam, I came across this book "Java 2, Certification Study Guide" by Simon Roberts, Philip Heller and Michael Ernest. On page 6 & 7, this book bears a table titled "Java Keywords" with a note that "The Java language specifies 49 keywords and other reserved words, which are listed in Table 1.1" and the table lists 49 Reserved words, OK, but the list doesn't contain "switch". I want to know if switch is a Java 2, keyword or not? if it is, are the total keywords 49 or 50 ? thanks in adv, regards, Ehtesham.    More>>

While preparing for the SCJP exam, I came across this book
"Java 2, Certification Study Guide" by Simon Roberts,
Philip Heller and Michael Ernest.

On page 6 & 7, this book bears a table titled "Java Keywords" with a note that "The Java language specifies
49 keywords and other reserved words, which are listed
in Table 1.1" and the table lists 49 Reserved words, OK,
but the list doesn't contain "switch". I want to know if
switch is a Java 2, keyword or not? if it is, are the
total keywords 49 or 50 ?

thanks in adv,
regards,
Ehtesham.

   <<Less

Re: Java language keywords

Posted By:   Dave_Pellatt  
Posted On:   Monday, June 24, 2002 06:17 AM

Hi,


The Java tutorial lists these
Keywords


There are 48 keywords of which 2 are not used. Note that true, false and null are not keywords - they are reserved words.


switch is a keyword.


Hope that helps,


Dave Pellatt

SCJP, SCJD & SCJA

About | Sitemap | Contact