File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes where and how to use getInstance() method please elaborate. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "where and how to use getInstance() method please elaborate." Watch "where and how to use getInstance() method please elaborate." New topic
Author

where and how to use getInstance() method please elaborate.

sandy chauhan
Ranch Hand

Joined: Apr 14, 2013
Posts: 31
Someone please tell me where is getInstance() method used, why we use it and what is singleton class.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32328
    
213

Oracle has a good blog post on this topic.


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
wood burning stoves
 
subject: where and how to use getInstance() method please elaborate.
 
jQuery in Action, 3rd edition