quanke
设计模式Java版

Updated 2 years ago

stopper (@stopper) started discussion #29

a year ago · 0 comments

Open

● Product(抽象产品角色):它是工厂类所创建的所有对象的父类,封装了各种产品对象的公有方法,它的引入将提高系统的灵活性,使得在工厂类中只需定义一个通用的工厂方法,因为所有创建的具体产品对象都是其子类对象。

工厂三兄弟之简单工厂模式(二) (Edit this file)

af

No description provided.

No comments on this discussion.


to join this conversation on GitBook. Already have an account? Sign in to comment
Notifications

You’re not receiving notifications from this thread.


1 participant