Link Details

Link 898275 thumbnail
User 884233 avatar

By screener
Published: Jan 01 2013 / 11:29

Writing code for thread-safe Singleton is common question in many Java Interviews. From Application development point of view, Singleton design pattern is one of the useful and most popular pattern. Prior to Java 5 Singleton has thread-safety issue during creation. This article explores few ways to write thread-safe singleton in Java.
  • 8
  • 0
  • 1713
  • 1983

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (8)

Voters Against This Link (0)

    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java