MCQ Single Best Answer Not Set

QWhich is a reserved word in the Java programming language?

ID: #1981 Java Language Fundamental 1,493 views
Question Info
#1981Q ID
Not SetDifficulty
Java Language FundamentalTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A method
  • B native
  • C subclasses
  • D reference
Correct Answer: Option B

Explanation

The word "native" is a valid keyword, used to modify a method declaration.

Option A, D and E are not keywords. Option C is wrong because the keyword for subclassing in Java is extends, not 'subclasses'.

Share This Question

Challenge a friend or share with your study group.