Virtual Functions and Polymorphism
Polymorphism is such a powerful feature of object-oriented programming that you’ll use it in the majority of your C++ programs. Polymorphism requires you to use derived classes, and the content of this chapter relies heavily on the concepts related to inheritance in derived classes that I introduced in the previous chapter.
KeywordsBase Class Class Object Class Hierarchy Abstract Class Member Function
Unable to display preview. Download preview PDF.