Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A question about java keywords?

 
michael wang
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Rob Ross
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic