Primeira página Anterior Continuar Última página Sumário Gráfica
C++: Polymorphism
Abstract classes
- contain at least one virtual function
- concrete derived classes should provide implementation for these functions
- member functions bound dynamically, during run time, to the function that will be called
- when function invoked through reference to object
- in C++, reference to object: pointer