Capgemini Engineering interview question

How to create a singleton class compatible with multithreaded Environment?