Chapter 13: Extending Class Functionality Through Inheritance

 < Day Day Up > 



Learning Objectives

  • State the purpose and use of inheritance in C++ class design

  • Explain how to apply the three access specifiers, public, protected, and private

  • Explain how to hide base class functions with derived class functions

  • Explain how to call a base class constructor from a derived class initializer list

  • Explain the use of the virtual key word as it relates to destructors and class member functions

  • Explain how to override virtual base class functions

  • Explain how to implement pure virtual functions

  • Explain how to declare and use abstract base classes

  • Explain how to substitute derived class objects where base class objects are specified

  • Explain how to implement multiple inheritance

  • State the purpose and use of a virtual base class

  • Explain how to safely use inheritance in your application design

  • Explain how to extend the UML class diagram to illustrate class inheritance hierarchies

  • Demonstrate your ability to express inheritance with a UML class diagram

  • Demonstrate your ability to utilize inheritance in the design of complex C++ programming projects



 < 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