Figure 1: (a) In the partial class hierarchy shown, class Mango implements the PropertyHolder interface twiceonce directly and once via its ancestor Fruit. (b) In REALbasic, a Mango object contains only one entry in its vtable for the PropName function. (c) In C++, a Mango object contains two PropName entries in its vtable, and which implementation is invoked depends on the static type of the object reference.
Back to Article