aspose 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
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: 30767
    
156

Oracle has a good blog post on this topic.


[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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: where and how to use getInstance() method please elaborate.