下列代码,使用的设计模式是 public class SO { private static SO instance; private SO (){} public static SO getInstance() { if (instance == null) { instance = new SO(); } return instance; } }
A.
单例模式
B.
适配器模式
C.
装饰器模式
D.
原型模式
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】___________is a long, allegorical poem, in which Spenser dramatized political, religious, and moral themes by personifying them, or making them characters.