設計模式學習筆記:抽象工廠和工廠方法的區別

  Defines an interface for creating an object,but let subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to subclasses       Provide an interface for creatin
相關文章
相關標籤/搜索