摘要:
三、 组合继承 (原型链和借用构造函数的技术组合到一起) 四、寄生组合式继承(集寄生式继承和组合继承的优点于一身,是实现基于类型继承的最有效方式) 阅读全文
posted @ 2017-09-08 21:31
FF盖世英雄CC
阅读(161)
评论(0)
推荐(0)
摘要:
1.单例class Singleton{ private Singleton(){} private static Singleton singleton = null; public static Singleton getSingleton(){ if(singleton == null){ s 阅读全文
posted @ 2017-09-08 14:16
FF盖世英雄CC
阅读(182)
评论(0)
推荐(0)

浙公网安备 33010602011771号