Creational Design Patterns

The singleton design pattern deals with one and only one instance of an object that encapsulates the control of the object from a common place.

Ads

Creational Design Patterns

       

 
  1. Singleton Pattern
    The singleton design pattern deals with one and only one instance of an object that encapsulates the control of the object from a common place. There are various ways of achieving this pattern.

Benefits:
Singleton pattern controls access to unique instances, reduce name space, permits a variable number of instances, allows refinement of operations and representations, and provides more flexibility than class operations.

Read more at:

http://www.javajazzup.com/issue3/page44.shtml

 

       

Advertisements

Ads
Share on Google+Share on Google+

Creational Design Patterns

Posted on: October 8, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Advertisements

Ads
 

Discuss: Creational Design Patterns  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0

Ads

 

Ads