Top

Discussion

Which is a reserved word in the Java programming language?

  • A.method
  • B.native
  • C.subclasses
  • D.reference
  • E.array

Answer: B

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'.

No comment is present. Be the first to comment.
Loading…

Post your comment