It's not a secret anymore!
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 Introducing JavaFX 8 Programming this week in the JavaFX 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: 32609
    
215

Oracle has a good blog post on this topic.


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: where and how to use getInstance() method please elaborate.
 
It's not a secret anymore!