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, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access