Originally posted by Arathi Raj: Hi How do you make a class to be singleton? What does this mean. Can u explain it?
Try googling for "Singleton". The first few links give decent descriptions. If you still don't understand, come back with specific questions about the problems you encountered. We will be happy to clarify from there.
FYI: Singleton looks interesting in some aspects. But, may need to be programmed with care, if you are introducing aspects like hashmaps inside it and making the hashmap bigger over the time. That can make it a memory hog.