🎉 Done

You've got Memento down.

What you covered

💡 The Bottom Line, one more time

Memento pattern explained: capture and externalize an object's internal state so it can be restored later, without breaking encapsulation.

What's next

Memento is one of 23 classic Gang-of-Four patterns. From here, the natural next step is:

Review this lesson See all 23 patterns Back to all topics