🎉 Done

You've got State down.

What you covered

💡 The Bottom Line, one more time

State pattern explained: allow an object to alter its behavior when its internal state changes, appearing to change class.

What's next

State 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