定义:定义了一个创建对象的接口,但由子类决定要实例化的类是哪一个。工厂方法让类把实例化推迟到子类。 设计模式(一)工厂模式Factory(创建型) http://blog.csdn.net/hguisu/article/details/7505909