摘要:
/** * 懒汉单利模式 线程不安全 * @author 15735400536 */ public class Singleton { /** * 实例对象 */ private static Singleton singleton; /** * 私有化构造函数,使外部不能创建对象 */ priv 阅读全文
摘要:
public class A implements Runnable { @Override public void run() { // TODO Auto-generated method stub System.out.println("A"); } } public class B impl 阅读全文