Replacement in Object Pascal

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.

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