圖解設計模式:建造者(Builder)

員工 worker = new 普通員工(); 
...
作衣服() {
    worker.作衣袖();
    worker.作衣身();
    T恤衫 t = worker.得到T恤衫();
    ...
}
相關文章
相關標籤/搜索