One of the goals of object-oriented design is to delegate responsibility among different objects. This kind of partitioning is good since it encourages Encapsulation and Delegation. Creational design patterns are based on these above principles. They can be further classified as:
Abstract Factory Creates an instance of several families of classes
Builder Separates object construction from its representation
Factory Method Creates an instance of several derived classes
Prototype A fully initialized instance to be copied or cloned
Singleton A class of which only a single instance can exist
Wednesday, December 28, 2005
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment