Vending machines can be of different types. Some vending machines are dedicated to coffee, some are dedicated to drinks, and others are dedicated to snacks. Here in this repository, I have implemented a Snack Vending machine.
**Figure:** a UML diagram to illustrate my understanding of Object-Oriented design techniques and concepts.- State design pattern simply allows an object to alter its behavior when its internal state changes.
- The object will appear to change its class.
- Each state is represented in an individual class (I have designed 4 states)