Replacement in Smalltalk and Objective-C is even easier. Replacement occurs whenever the child class uses the same method name as the parent class. The square root method in Smalltalk we presented earlier is a good example of this.