• 2021-04-14
    【单选题】下面的代码实现了设计模式中的()模式 public class A{ private A instance; private A(){} public static Aget Instance{ if(A==null) instance = new A(); return instance; } }
    A. Factory B. AbstractFactory C. Singleton D. Builder