The Factory Method Pattern defines an interface for creating an object, but lets subclasses decide which class to instantiate.

 
  • 工厂方法模式定义了一个创建对象的接口,但由子类决定实例化的逻辑。
今日热词
目录 附录 查词历史