Introduction to OOP: Chapter 2: Responsibility Driven Design: [next] [previous] [audio] [real] [text]

Behavior and State

All components can be characterized by two aspects:

Notice that it is common for behavior to change state. For example, the edit behavior of a recipe may change the preparation instructions, which is part of the state.

Intro OOP, Chapter 2, Slide 23