6

Implementing Hierarchies with Single Inheritance

This chapter will extend our pursuit of object-oriented programming in C++. We will begin by introducing additional OO concepts, such as generalization and specialization, and then understand how these concepts are implemented in C++ through direct language support. We will begin building hierarchies of related classes, and understand how each class can become an easier to maintain, potentially reusable building block in our applications. We will understand how the new OO concepts presented in this chapter will support well-planned designs, and we will have a clear understanding of how to implement these designs with robust code in C++.

In this chapter, we will cover the following main topics: ...

Get Deciphering Object-Oriented Programming with C++ 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.