System Design Interview Question Vending machine has classes for Products, coins and a central class for vending machine.