• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java  RSS feed

 
Rajasekar Sundaresan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyone can explain what is singleton class and its usage in real time with example? Also please provide the source code.
 
mohan kumar r
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
u can get useful information in the following link

http://www.javaworld.com/javaworld/jw-04-2003/jw-0425-designpatterns.html
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch!

If you take some time to get your question right it vastly improves your chances of a good response. We even made a page on our wikki to help called HowToAskQuestionsOnJavaRanch

Servlets is not the correct forum for this question, 'Java' is not a useful topic and since this is a common question, a serach would be a good idea.

I'll move this to the Java in General (beginner) forum where you'll get some good responses.

Dave
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Scroll down the the OO, UML, etc forum. We've been all over Singleton many times.
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also see this Singleton topic, as linked to from this forum's FAQ.
[ June 23, 2006: Message edited by: marc weber ]
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!