Replacment in Object Pascal is relatively straightforward. Replacmenet occurs if the method name is the same, the arguments order and types match, and result type matches, and the child class says explicitly that it is overriding. An example is shown on the next slide.