State and Singleton Design Pattern
State and Singleton Design Pattern
■ Creational Patterns
■ Structural Patterns
■ Behavioral Patterns
Behavioral Patterns
■ In software engineering, behavioral design patterns are design patterns that identify
common communication patterns between objects and realize these patterns. By
doing so, these patterns increase flexibility in carrying out this communication.
Types of Behavioral Patterns
■ Chain of responsibility
■ Command
■ Interpreter
■ Iterator
■ Mediator
■ Memento
■ Null Object
■ Observer
■ State
■ Strategy
■ Template Method
■ Visitor
STATE DESIGN
PATTERN
Intent
ATM Machine
Advantages