package design;

import com.design.drawPerson.GraphicsDirector;
import com.design.drawPerson.GraphicsPersonDad;
import com.design.drawPerson.GraphicsPersonSon;

/**
 * Description: 建造者模式-绘制人像
 * All Rights Reserved.
 * @version 1.0  2017年12月1日 上午11:13:38  by Nina
 */
public class GraphicsPerson {
    public static void main(String[] args) {
        GraphicsDirector director = new GraphicsDirector(new GraphicsPersonSon());
        director.graphics();
        System.out.println("---------------华丽丽的分割线-----------------");
        GraphicsDirector director2 = new GraphicsDirector(new GraphicsPersonDad());
        director2.graphics();
    }
}
最近下载更多
jiajia91323  LV23 2019年4月18日
乞丐哥哥  LV23 2018年3月25日
test3d21  LV5 2018年3月13日
bingco  LV6 2017年12月3日
最代码官方  LV167 2017年12月1日
最近浏览更多
sl0018  LV13 2023年11月24日
xhmpmail  LV17 2021年2月24日
周海翔  LV3 2020年6月17日
千千千千千千  LV1 2020年6月14日
1203767407  LV1 2020年5月26日
gzxywyf 2020年5月22日
暂无贡献等级
加油干阳神  LV8 2020年5月3日
勇敢的心迷茫 2020年3月28日
暂无贡献等级
刘建鑫 2020年3月8日
暂无贡献等级
jaonsang  LV25 2019年12月25日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友