Why do we use command patterns?

The command pattern should be used when: You need a command to have a life span independent of the original request , or if you want to queue, specify and execute requests at different times. You need undo/redo operations. The command’s execution can be stored for reversing its effects.

Read more

What is OOPs and why?

Object-oriented programming (OOP) is a computer programming model that organizes software design around data, or objects, rather than functions and logic . An object can be defined as a data field that has unique attributes and behavior.

Read more