Capgemini Engineering Interview Question

How to create a singleton class compatible with multithreaded Environment?