Freshworks Interview Question

Design a driver class which is responsible for driver creation and holding driver instance.