I want to compare the class type in Java.
I thought I could do this:
class MyObject_1 {} class MyObject_2 extends MyObject_1 {} public boolean funct
Hmmm... Keep in mind that Class may or may not implement equals() -- that is not required by the spec. For instance, HP Fortify will flag myClass.equals(myOtherClass).