Original issue created by eaftan@google.com on 2013-02-11 at 09:53 PM
For reference equality: If the two references are of different class types with no common subclasses, then this will always return false.
For equals(): This method calls equals() on two references of different class types with no common subclasses. In this case, equals() will most likely return false. Note that it is possible to define an equals() method that does return true when given an object of different types.
Original issue created by eaftan@google.com on 2013-02-11 at 09:53 PM
For reference equality: If the two references are of different class types with no common subclasses, then this will always return false.
For equals(): This method calls equals() on two references of different class types with no common subclasses. In this case, equals() will most likely return false. Note that it is possible to define an equals() method that does return true when given an object of different types.