9. Advanced OOP

By now, you have taken your first steps into the realm of object-oriented programming. You understand inheritance, and you know how to translate a problem that you want to solve into a class hierarchy. But there is still a lot to learn.

This chapter will introduce you to the more advanced concepts found in C++ and object-oriented programming in general. You’ll learn about static methods and how to use them, and you’ll get a deeper insight of the inner workings of objects. You’ll learn about object-oriented concepts like virtual methods, abstract methods, and polymorphism. Next, we’ll talk about more C++-specific features like operator overloading. Finally we discuss two types of inheritance: multiple and virtual.

Two related, ...

Get C++ Programming: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.