Java OCA OCP Practice Question 1202

Question

What is the value returned by abcd instanceof Object?

  • A. abcd
  • B. true
  • C. false
  • D. String


B.

Note

The String abcd is an instance of Object so the value of true is returned.




PreviousNext

Related