Java OCA OCP Practice Question 919

Question

Which of the following may appear on the left-hand side of an instanceof operator?

  • A. A reference
  • B. A class
  • C. An interface
  • D. A variable of primitive type


A.

Note

Only references may be the left-hand operands of instanceof.




PreviousNext

Related