圖解設計模式(四)工廠模式

package com.design; import java.util.ArrayList; import java.util.List; public class TestFactory { public static void main(String[] args) { Factory factory = new IDCardFactory(); Product card1 =
相關文章
相關標籤/搜索