具体工厂productB
product create(){retrun new productB()}
《interface》抽象产品product
String getName()
具体工厂productA
product create(){return new productA();}
《interface》抽象工厂
product create()
具体类productA
String getName(){return \"productA\";}
类
String getName(){return \"productB\";}