First page Back Continue Last page Graphics
Dynamic Binding
example cont.
Virtual, it uses a pointer type (BrassPlus *) and invokes BrassPlus::ViewAcct( ). The compiler cannot know which in advance so it generates code to bind to either depending on the type of the object. The actuall binding takes place AT RUN TIME.