What are the legal operands of the instanceof operator?

Q

What are the legal operands of the instanceof operator?

✍: Guest

A

The left operand is an object reference or null value and the right operand is a class, interface, or array type.

2013-01-01, 2154👍, 0💬