单例模式的几种实现方法,具体如下:懒汉模式public class Singleton{ private static Singleton instance; private Sin...