Chapter 15 Polymorphism and Virtual Functions. Copyright © 2006 Pearson Addison-Wesley. All rights reserved. 15-2 Learning Objectives Virtual Function.
Polymorphism and Virtual Functions. Topics Polymorphism Virtual Functions Pure Virtual Functions Abstract Base Classes Virtual Destructors V-Tables Run.
Polymorphism and Virtual Functions. class Ball : public Sphere.
CHAPTER 15 POINTERS, CLASSES, AND VIRTUAL FUNCTIONS.
1 Chapter 15 Polymorphism and Virtual Functions. 2 Learning Objectives Virtual Function Basics –Late binding –Implementing virtual functions –When to.
CHAPTER 14 POINTERS, CLASSES, LISTS, AND VIRTUAL FUNCTIONS.
Slide 1 Polymorphism and Virtual Functions. Slide 2 Learning Objectives Virtual Function Basics Late binding Implementing virtual functions When.