Replacement in Objective-C and Smalltalk

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.

[audio] [real] Text to accompany slide14, in Chapter 11 of An Introduction to Object-Oriented Programming