Tech Mahindra interview question

Explain the Singleton design pattern in Java.