Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
Singleton Class Example
Joined: Feb 15, 2005
Feb 21, 2005 08:57:00
Can someone post a simple example of a Singleton Class (With Comments please)
woudl be GREAT, if the example is of a File Server ( a Class which Servers File to a Client Socket Application , if not, it's ok too)
Thanks in advance.
Marilyn de Queiroz
Joined: Jul 22, 2000
Feb 21, 2005 09:27:00
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Singleton Class Example
Static reference for object
Spring Controllers singleton or not?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015