The next stop on our voyage through the Design Patterns galaxy takes us to the Command design pattern, another of the design patterns found in the GoF catalog. We will find this design pattern useful when we want to trigger the execution of an activity without having to know what the activity is.
The Command design pattern is most applicable in situations where the requester for an activity is to remain oblivious to the implementation details for completing the activity, and contributes to enabling objects to remain only loosely coupled .