学习笔记之工厂方法模式
摘要:
public interface Factory { public abstract Fruits product();}工厂接口public interface Fruits { public abstract void growth();}水果接口public class Apple... 阅读全文
posted @ 2015-10-27 20:36 托马斯不拖马 阅读(143) 评论(0) 推荐(0)
posted @ 2015-10-27 20:36 托马斯不拖马 阅读(143) 评论(0) 推荐(0)
posted @ 2015-10-27 17:41 托马斯不拖马 阅读(250) 评论(0) 推荐(0)