首页 > 代码库 > Design Pattern 复习

Design Pattern 复习

1. Run-time binding v.s complile-time binding

2. Factory Method :defer instantiation to subclass,define only vitual function for creating a object in base class

   Abstract Factory Method

   Builder

   Prototype

3. virtual function

4. private v.s public v.s static v.s protected

http://msdn.microsoft.com/zh-cn/library/st6sy9xe.aspx

http://msdn.microsoft.com/zh-cn/library/bcd5672a.aspx

http://www.cnblogs.com/sideandside/archive/2007/03/29/692559.html

5. Framework v.s Toolkit v.s Application 

6.inheritance and delegation

7.Class v.s Abstract Class v.s Interface

8.Class Adapter v.c Object Adapter

9.Bridge

10.Composite

Design Pattern 复习