Tech Mahindra Interview Question

Singleton design pattern.