interview考singleton是比较普遍的现象。但是不正确的,它的考点和本意不符。只能说明公司用pattern用得少。 singleton其实考察的还是oo,而不是pattern. pattern的考察,理论上应该靠dip,实践上什么都可以靠,singleton是last option.