I searched but didn’t find any normal information for Java Singleton functions or classes , So can anybody explain why I need them? What is he difference from other functions?
I searched but didn’t find any normal information for Java Singleton functions or classes
Share
Sometimes it's appropriate to have exactly one instance of a class: window managers, print spoolers, and filesystems are prototypical examples. Typically, those types of objects—known as SingletonsThere is nothing like
Singleton function, we usually useSingleton Classeshttp://www.javapractices.com/topic/TopicAction.do?Id=46