Clipboard Interview Question

OOPs implementation of Bulb and dimmer problem