| Author |
difference between builder pattern and abstract factory
|
subu ananthram
Ranch Hand
Joined: May 16, 2004
Posts: 102
|
|
Hi
I am preparing for my SCEA 1 .i am a bit muddled after reading about the builder and abstract factor pattern
They seem so similar what is the difference between the two
Could anyone help me out
Cheers
Priya
|
 |
Deriko Prata
Greenhorn
Joined: Dec 16, 2010
Posts: 21
|
|
hello there,
Both are creational patterns, although they seem similar, the key factor to distinguish them , is their intention. The builder pattern consists in constructing a complex object, by directing the steps of its creation, thereby you can have different final products. The abstract factory pattern, combines factory methods to delegate the responsibility of creating a group of related objects(family) to its concrete subclasses.
|
 |
 |
|
|
subject: difference between builder pattern and abstract factory
|
|
|