State

Term side of the Card
Topic: Behavioral Patterns
Unit title: State
Categories: Design pattern
Explanation side of the Card

Explanation: The design pattern that allows an object to change its behavior based on its state. The object will appear to change its class, making state transitions easy to manage and reducing complex conditionals.

Edit on GitHubContributions in our content repository are 🤗 welcome from everyone.Link leads to the Contributions guidelines on GitHubLink leads to the content repository on GitHub