Chapter 10. OBJECTS AND CLASSES

In this chapter you learn

Object-oriented programming (OOP) is a particular conceptual approach to designing programs, and C++ has enhanced C with features that ease the way to applying that approach. The most important OOP features are these:

  • Abstraction

  • Encapsulation and data hiding

  • Polymorphism

  • Inheritance

  • Reusable code

The class is the single most important C++ enhancement ...

Get C++ Primer Plus, Fourth Edition 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.