收藏 分享(赏)

面向对象系统分析与设计_03_工厂模式(2hours).ppt

上传人:dzzj200808 文档编号:3320786 上传时间:2018-10-13 格式:PPT 页数:9 大小:1.20MB
下载 相关 举报
面向对象系统分析与设计_03_工厂模式(2hours).ppt_第1页
第1页 / 共9页
面向对象系统分析与设计_03_工厂模式(2hours).ppt_第2页
第2页 / 共9页
面向对象系统分析与设计_03_工厂模式(2hours).ppt_第3页
第3页 / 共9页
面向对象系统分析与设计_03_工厂模式(2hours).ppt_第4页
第4页 / 共9页
面向对象系统分析与设计_03_工厂模式(2hours).ppt_第5页
第5页 / 共9页
点击查看更多>>
资源描述

1、2018年10月13日星期六,Neusoft Computer Science and Technology Department copy right,1,OO System Analysis & Design,【09_Factory Pattern】,2018年10月13日星期六,Neusoft Computer Science and Technology Department copy right,2,Enjoy pizza,2018年10月13日星期六,Neusoft Computer Science and Technology Department copy right,3,Ou

2、r job is:,To design a pizza Store, which could create a pizza object.,2018年10月13日星期六,Neusoft Computer Science and Technology Department copy right,4,Version 1: simple factory,2018年10月13日星期六,Neusoft Computer Science and Technology Department copy right,5,How to offer different styles?,Chicago style,N

3、ew York style,2018年10月13日星期六,Neusoft Computer Science and Technology Department copy right,6,Version 2: factory method,2018年10月13日星期六,Neusoft Computer Science and Technology Department copy right,7,The Factory Method Pattern,The Factory Method Pattern defines an interface for creating an object, but

4、 lets subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to subclasses.,2018年10月13日星期六,Neusoft Computer Science and Technology Department copy right,8,Class diagram: Factory Method,2018年10月13日星期六,Neusoft Computer Science and Technology Department copy right,9,Class is over,Congratulations!,

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 高等教育 > 大学课件

本站链接:文库   一言   我酷   合作


客服QQ:2549714901微博号:道客多多官方知乎号:道客多多

经营许可证编号: 粤ICP备2021046453号世界地图

道客多多©版权所有2020-2025营业执照举报