HARMAN Interview Question

Implement a singleton class in a thread safe manner.