instanceof Operator

Ramesh Mandaleeka ramesh.mandaleeka at gmail.com
Fri Apr 9 08:46:57 PDT 2010


Hi,

Why there is not instanceOf() method in java.lang.Object just like equals()
method. Why we need an operator? A class can tell if it equals to other
object or not but why not an instanceOf(Object obj) method ( I guess it
should be final too).

Regards,
Ramesh



More information about the coin-dev mailing list