I was doing research on singleton and I have developed a very basic singleton class..
public class SingletonObject {
private static SingletonObject ref;
My answer is:
Why does it matter?
If you are trying to design secure, uncrackable code then a Singleton is not a solution for that. It is designed to force the ordinary developer to use your system instance of it. All of these methods of getting around it require a lot of extra work that someone is not going to do simply to use a different instance of the class.