1

In many interview I have faced a question

When a singleton class not behave as singleton

Can you please let me it little bit more details?

  • Your interview question is probably related to thread-unsafe singletons. There's plenty of documentation about that. – Mena Jun 13 '14 at 10:36
  • I also felt the same as Mena. –  Jun 13 '14 at 10:37
  • 2
    [When would a Singleton not work as a Singleton?](http://stackoverflow.com/questions/11664076/when-would-a-singleton-not-work-as-a-singleton) & [cracking singleton with other ways](http://stackoverflow.com/questions/11654876/cracking-singleton-with-other-ways) – Subhrajyoti Majumder Jun 13 '14 at 10:37

0 Answers0