Chapter 16: Dynamic Polymorphism-Object-Oriented Programming

 < Day Day Up > 



Learning Objectives

  • State the definition of dynamic polymorphism

  • Explain how to achieve dynamic polymorphic behavior through the use of base class pointers and derived class objects

  • State the importance of abstract base classes in object-oriented design

  • Describe the role virtual functions play in implementing dynamic polymorphic behavior

  • State the purpose and use of virtual destructors

  • Describe the concept of pure virtual functions

  • State the purpose and use of abstract base classes

  • State the importance of a consistent derived class interface and the role it plays in achieving robust polymorphic behavior

  • Explain why polymorphic behavior is a critical component of good object-oriented design

  • Demonstrate your ability to utilize dynamic polymorphism in your C++ programming projects

  • List and define the following terms: base class, abstract base class, virtual function, pure virtual function, virtual destructor, inheritance hierarchy, base class pointer, derived class object, and dynamic polymorphic behavior



 < Day Day Up > 



C++ for Artists. The Art, Philosophy, and Science of Object-Oriented Programming
C++ For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming
ISBN: 1932504028
EAN: 2147483647
Year: 2003
Pages: 340
Authors: Rick Miller

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net