B4Coder
0%
LessonAbout 9 min

Chapter 9 · Lesson 3 of 5

03. Virtual functions

With virtual, one function call does the right thing for each kind of object, even through a base class reference or pointer.

Opening the lesson…