Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
sandy chauhan
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Someone please tell me where is getInstance() method used, why we use it and what is singleton class.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34392
346
Eclipse IDE Java VI Editor
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic