public static void testSingleton1()
	{
		Singleton1 ins=Singleton1.getInstance();//得到第一个实例 
		System.out.println(ins);
		
		Singleton1 ins2=null;//用反射得到第二个实例,这里引用类的时候得写全路径，否则会报找不到类
		try {
			Class c = Class.forName("com.open.design.singleton.Singleton1");
			Constructor[] con = c.getDeclaredConstructors();
			Constructor conc = con[0]; 
			conc.setAccessible(true);
			ins2 = (Singleton1)conc.newInstance(); 
			System.out.println(ins2);
			
		} catch (Exception e) {
			e.printStackTrace();
		}
		
		System.out.println("testSingleton1:"+(ins.equals(ins2)? "same":"diff"));
		System.out.println();
	}