Object Oriented Design

Chapter 13: Object Oriented Design

Chapter Goals


Relationships between Classes


Implementing Associations


Example: An Educational Game (Requirements)


CRC Cards

Clock
draw Time
set time
 
 
 

Example: An Educational Game (CRC Cards)

Example: An Educational Game (UML Diagram)

Example: An Educational Game (Class and Function Comments)

Example: An Educational Game (clock.cpp)