Command Design Pattern

Command design pattern revolves around a single object which encapsulate all the information to execute a method at later time. This command object contains a receiver object instance and a method pointer. A client can use command object with different parameters. Command object uses client parameters and execute the method on the receiver object. Command design pattern is useful when we ha...

Continue Reading