File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "A question about java keywords?" Watch "A question about java keywords?" New topic

A question about java keywords?

michael wang
Ranch Hand

Joined: Feb 06, 2002
Posts: 35
Which of the following are Java keywords?
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

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.

SCJP 1.4
I agree. Here's the link:
subject: A question about java keywords?
It's not a secret anymore!