CS106 - Lecture 17 02/19/01

2/19/2001


Click here to start


Table of Contents

CS106 - Lecture 17 02/19/01

Outline

Classes

Encapsulation and Information Hiding

Classes Verses Structures

Defining Classes

Defining Member Functions

Example: Display 6.3

Public Versus Private

Example: Display 6.4

Accessor Functions

Example: Display 6.5

Constructors

Constructors

Example: Display 6.6

Abstract Data Types

Introduction

Classes to Produce ADTs

How to Write ADTs

Interface Verses Implementation

Author: Henry Tufo

Email: tufo@mcs.anl.gov

Home Page: www.mcs.anl.gov/~tufo