Interface Memento


public interface Memento
Memento will be used to snapshot an object's state, and then it can be used to restore the state at later point with the help of Command.