|
|
|
|
|
|
|
15
Classes and Data Abstraction |
|
|
|
|
|
|
|
|
To understand the difference between specification and implementation of an abstract data type. |
|
|
|
|
|
|
|
|
To be able to declare a C++ class type. |
|
|
|
|
|
|
|
|
To be able to declare class objects, given the declaration of a class type. |
|
|
|
|
|
|
|
|
To be able to write client code that invokes class member functions. |
|
|
|
|
|
|
|
|
To be able to implement class member functions. |
|
|
|
|
|
|
|
|
To understand how encapsulation and information hiding are enforced by the C++ compiler. |
|
|
|
|
|
|
|
|
To be able to organize the code for a C++ class into two files: the specification (.h) file and the implementation file. |
|
|
|
|
|
|
|
|
To be able to write a C++ class constructor. |
|
|
|
|
|