工厂方法
Sign in to savecreational pattern that uses factory methods to deal with the problem of creating objects without having to specify the exact class of the object that will be created
creational pattern that uses factory methods to deal with the problem of creating objects without having to specify the exact class of the object that will be created