Prabhat Ranjan wrote:Yes, i mean singleton is basically used not to create multiple instance of the class.
but is there any way to create multiple instance lets say cloning() or any another..
Well, if the singleton is created correctly, then
you should not be able to create more than one instance.
If you can, then there is a bug, and depending on the bug, I guess there could be countless ways to break it.
Henry