The factory should provide a fixed mechanism how to decide which class to instantiate.

 
  • 工厂必须提供一种固定的机制来决定哪个类被实例化。
今日热词
目录 附录 查词历史