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

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