Memento pattern enables an object to restore to its previous state. It consists of three classes. Originator is the one who has an internal state. It can… Read more “DESIGN PATTERNS 2 — Memento Pattern”
Memento pattern enables an object to restore to its previous state. It consists of three classes. Originator is the one who has an internal state. It can… Read more “DESIGN PATTERNS 2 — Memento Pattern”