| Introduction to OOP | Chapter 12: Implications of substitution: | next | previous | audio | real | text | 
class Foo {
	boolean equals (Object right) { ... }
}
Foo a, b;
if (a.equals(b))  // even if this is true
if (b.equals(a))  // no guarantee that this is true