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
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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
Email and Design pattern
how to make single instance of a class?
final Objects .....
about default constructor
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014