This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes A question about java keywords? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "A question about java keywords?" Watch "A question about java keywords?" New topic
Author

A question about java keywords?

michael wang
Ranch Hand

Joined: Feb 06, 2002
Posts: 35
Which of the following are Java keywords?
A NULL
B null
C extends
D main
is the answer:bc?
[ February 24, 2002: Message edited by: michael wang ]

--<br />a java beginner from China
Rob Ross
Bartender

Joined: Jan 07, 2002
Posts: 2205
Technically the only keyword here is "extends."
But if you ask about reserved words, they are null, and extends. You won't have to know the difference, just know what all the reserved words are. Search this forum for other threads about this topic.


Rob
SCJP 1.4
 
jQuery in Action, 2nd edition
 
subject: A question about java keywords?
 
Similar Threads
Is null a keyword?
keywords
Keywords and Reserved words
keyword vs. reserved words
Fundamantals