McGraw-Hill OnlineMcGraw-Hill Higher EducationLearning Center
Student Center | Instructor Center | Information Center | Home
Workbook
EzWindows Software Packages
Chapter Objectives
Chapter Outline
Chapter Overview
Lab
Feedback
Help Center


Cohoon/Davidson: C++ Program Design, Third Edition
C++ Program Design, 3/e
James P. Cohoon, University of Virginia
Jack W. Davidson, University of Virginia

Implementing abstract data types

Chapter Objectives

Upon completion of this chapter the student will understand and be able to utilize the following key concepts:

Objects are the basic unit of programming in object-oriented languages like C++.

Objects are models of information and are implemented as software packages that can encapsulate both attributes and behavior.

The construct for defining new types of encapsulated objects in C++ is the class. A class is the “blueprint” from which an object can be created.

We introduce how to create these blueprints or specifications of objects.

We do so by showing the class declaration of a programmer-defined type we have used in previous chapters— RectangleShape