Java / Design Patterns
When do you use memento design pattern ?
The Memento pattern provides undo mechanism in your application when the internal state of an object need to be restored at a later stage. Using serialization along with this pattern, it's easy to preserve the object state and restore it later.
More Related questions...