Jaikiran Pai wrote:By the way, that article mentions only a few ways of breaking a singleton and ways to prevent that. But there are other ways too, which can easily break the singleton semantics. I am sure a search for "singleton" in this forum will provide you enough information.
Jaikiran Pai wrote:
Creating a singleton doesn't require any use of clone(). You haven't yet told us why you are after the clone method?
seetharaman venkatasamy wrote:Singleton1 is not implemented Clonable interface