Java OCA OCP Practice Question 911

Question

What is the return type of the instanceof operator?

  • A. A reference
  • B. A class
  • C. An int
  • D. A boolean


D.

Note

The instanceof operator generates a boolean value.




PreviousNext

Related