370 likes | 574 Views
Object States. Before object-orientation, programmers used state-transition diagrams to describe how programs evolved between statesUML uses a different notation, but the essence of these diagrams is the same. Object States. First, let's see a simple exampleShown below is a state diagram for a sod
E N D
1. Statechart Diagrams Visualizing the Evolution of Objects Over Time
2. Object States Before object-orientation, programmers used state-transition diagrams to describe how programs evolved between states
UML uses a different notation, but the essence of these diagrams is the same
3. Object States First, let's see a simple example Shown below is a state diagram for a soda machine: