The instanceof comparison operator is available for object variables. The purpose of this operator is to determine whether an object is of a given class or interface type (or any of the subtypes of that type).
This comparison may not be made on primitive types and will result in a compile-time
error if it is attempted
instanceof operator
Thursday, August 20, 2009
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment