
Design Patterns
Behavioral – Command Design Pattern
There are 10 behavioral design patterns and command pattern is one of them. This is used to implement loose coupling in a request-response model. Given below is the process of command pattern. —-request—-> Invoker —-request—> Command object —-request—>Receiver The command object is encapsulated. The client program creates the receiver object after passing the request to […]
August 7, 2020