Meaningless Drivel is fun!*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
Consider Paul's rocket mass heater.
 
subject: A question about java keywords?
 
Similar Threads
Fundamantals
keyword vs. reserved words
Is null a keyword?
Keywords and Reserved words
keywords