CS 4448 - Spring 1998
Object-Oriented Programming and Design
Lecture 10.2
Chapter 10 - Polymorphism
- Operate and manipulate different derived objects in a uniform
way. Operate on different but related data types in a generic way.
- virtual functions - derived class redefines base class method
- pure virtual functions - base provides the interface but can not
implement a general solution/implementation. Related to design issues.
- v-table - virtual-table used for dynamic binding to methods
- const of P308 what does it mean, init example
Adam Jonathan Griff,
computer@griffmonster.com
Copyright © University of Colorado. All rights reserved.
Revised: March 19, 1998