If we need to dynamically change the behavior of an object, we should consider using behavioral patterns. This group is responsible for communication between objects, and it also contains the following patterns:
- Observer
- Strategy
- Command
- State
- Chain of responsibility
- Visitor
We will now dive deeper into each one of these design patterns.