O'Reilly logo

C++11 for Programmers, Second Edition by Harvey M. Deitel, Abbey Deitel, Paul J. Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

12. Object-Oriented Programming: Polymorphism

Objectives

In this chapter you’ll:

• Learn how polymorphism makes programming more convenient and systems more extensible.

• Learn the distinction between abstract and concrete classes and how to create abstract classes.

• Use runtime type information (RTTI).

• Learn how C++ implements virtual functions and dynamic binding.

• Understand how virtual destructors ensure that all appropriate destructors run on an object.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required