This is a space that holds a collection of my personal work and ideas
Behavioral Patterns - Memento Pattern Exercise
Posted on 06/20/2018
The Memento Pattern is used to record the internal state of an object. It is used to create a state machine and also makes undo or redo operation very easy with this pattern. In this exercise, we will use a scenario of account and account manager to understand the components of this pattern.