Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 9. Class Inheritance and Virtual Functions

Chapter 9. Class Inheritance and Virtual Functions

WHAT YOU WILL LEARN IN THIS CHAPTER:

  • How inheritance fits into object-oriented programming

  • Defining a new class in terms of an existing one

  • How to use the protected keyword to define a new access specification for class members

  • How a class can be a friend to another class

  • How to use virtual functions

  • Pure virtual functions

  • Abstract classes

  • When to use virtual destructors


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial