Introduction to OOP | Chapter 3: Object-Oriented Design: | next | previous | audio | real | text |
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.