Friday, October 29, 2004 12:29 AM
I think the explaination of your doubt is not very much clear and explainatory.
The basic purpose of singleton class is not related to having data inside the class or not.
The main aim of singleton class is to have a single instance of the class to be present in the application.
The ideal example being your connection class that is shared between multiple application modules.
And as far as your doubt of delegation is concerned , are you trying to use the facade pattern ?
Please elaborate more on your requirement,