Link Details

Link 939751 thumbnail
User 884233 avatar

By screener
via javarevisited.blogspot.in
Published: Mar 15 2013 / 22:53

Singleton and Static Class in Java ( A class with all static methods) has couple of similarities, e.g. both can be used without creating multiple instances, but there are subtle differences between them, which makes static class suitable in certain cases, and Singleton pattern on other. This article, explores difference between Singleton and Static class in Java, to make a informed decision about, when to use Singleton or Static Class in Java.
  • 16
  • 0
  • 4695
  • 3280

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.

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