Skip to Content.
Sympa Menu

gang-of-4-patterns - RE: [gang-of-4-patterns] Doubt on creational patterns..

gang-of-4-patterns AT lists.cs.illinois.edu

Subject: Design Patterns discussion

List archive

RE: [gang-of-4-patterns] Doubt on creational patterns..


Chronological Thread 
  • From: "mgrand AT mindspring.com" <mgrand AT mindspring.com>
  • To: jacobg AT atinav.com, gang-of-4-patterns AT cs.uiuc.edu
  • Subject: RE: [gang-of-4-patterns] Doubt on creational patterns..
  • Date: Mon, 22 Sep 2003 07:05:44 -0400
  • List-archive: <http://mail.cs.uiuc.edu/pipermail/gang-of-4-patterns/>
  • List-id: Design Patterns discussion <gang-of-4-patterns.cs.uiuc.edu>

Factory Method is about deciding which class to instantiate. Abstract
factory is about ensuring that that classes that you are instantiate are a
matched set. Abstract factory may use factory method to decide which set
of classes it will instantiate.

Original Message:
-----------------
From: Jacob George
jacobg AT atinav.com
Date: Mon, 22 Sep 2003 14:29:59 +0530
To:
gang-of-4-patterns AT cs.uiuc.edu
Subject: [gang-of-4-patterns] Doubt on creational patterns..


Hi,
I am new to this group and is presently trying to understand creational
patterns. I got confused by the "Factory method" pattern and "Abstract
Factory" pattern. Both are used for instantiating objects, right? But one
is class creational while other is object creational; this point I doesn't
understand clearly.



--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .







Archive powered by MHonArc 2.6.16.

Top of Page