Multiple Choice Question

Quiz Guidelines

 

QID: 
12
Tags: 
Question: 

Which of the following statements are true?

Select 1 option

A. For any non-null reference obj, the expression (obj instanceof obj) will always yield true.

B. For any non-null reference obj, the expression (obj instanceof Object) will always yield true.

C. For any non-null reference obj, the expression (obj instanceof obj) will always yield false.

D. For any non-null reference obj, the expression (obj instanceof Object) may yield false.

E. None of the above

Q&A Set: