#CS-6203
Awesome StudentQuestion • Object Oriented Programming

It is a type of pattern that allow an object to alter its behavior or when its internal state changes and the object will appear to change its class.

Answer

State Pattern