Tuesday, March 10, 2009

What are the legal operands of the instanceof operator? (CoreJava)

Question :What are the legal operands of the instanceof operator? (CoreJava)
Answer :The left operand is an object reference or null value and the right
operand is a class, interface, or array type.

No comments: