工廠模式與代理模式的聯合應用UML圖及源碼

UML圖: 源碼:Image接口 public interface Image { void show(); }  ProxyImage類 public class ProxyImage implements Image { Image img; public ProxyImage(Image img) { super(); this.img = img; System.out
相關文章
相關標籤/搜索