Domanda di colloquio di Virtusa

write code to create a singleton class in a multi-threaded environment. In how many ways can you break a singleton?