Tech Mahindra Interview Question

Explain the Singleton design pattern in Java.