File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
vishwas cheluva n
Joined: Apr 12, 2013
Jul 10, 2013 06:13:10
what is the use of singleton design
??? and wat is the difference between singleton and factory???
Joined: Sep 26, 2007
Jul 10, 2013 08:26:09
Singleton helps in ensuring that only one instance of the class exists. Factory pattern is used to create objects of the class without exposing the instantiation logic.
I agree. Here's the link:
subject: Design pattern
final Objects .....
how to make single instance of a class?
about default constructor
Email and Design pattern
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014