摘要:
单例模式的两种实现方式: 单例模式:为了使一个类只能实例化一个对象,无论进行多少次实例化,其引用都指向一个对象。 第一种方式: class Single { private Single(){} private static Single s = new Single(); public stati 阅读全文
摘要:
1.我选的题目是第四题 Dijkstra曾经提到:“Software engineering, of course,presents itself as another worthy cause,but that is eyewash: if you carefully read its liter 阅读全文