[first slide]

Introduction to Object Oriented Programming

Timothy A. Budd

Chapter 20

A Second Look at Classes

Outline

  1. Topics in this Chapter
  2. What is a class?
    1. Classes as Types
      1. Implications of Classes for Types
    2. Classes as Objects
      1. Instance and subclass Relationships
      2. MetaClasses
  3. Class Data
  4. Are Classes Necessary?
    1. Delegation
    2. Example - Lines and Pens
    3. Patterns of Delegation
    4. Kaleidoscope Pen

Other Material

Intro OOP, Chapter 20, Slide 1