Jump to content


Photo

Which Implementation Of Singleton Pattern Is Used?


  • Please log in to reply
No replies to this topic

#1 AmuAmrapali

AmuAmrapali

    New Member

  • Members
  • Pip
  • 1 posts

Posted 25 March 2014 - 08:24 PM

There are many implementation of singleton pattern. Lazy instantiation with Double Locking Mechanism, early instantiation. After Java 5 using Enum .

But in real life which implementation is used mostly?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users