Replacement in Objective-C and Smalltalk occurs whenever a method in the child class has the same same as a method in the parent class.
Square root method in Smalltalk was presented earlier.