State Pattern

State Pattern The state pattern, which closely resembles Strategy Pattern, is a behavioral software design pattern, also