Domanda di colloquio di UKG

Singleton Pattern implementation and how to make it thread-safe ?