Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
OO, Patterns, UML and Refactoring
abstactfactory vs factory method
Joined: Mar 15, 2008
Feb 21, 2012 04:29:25
I just completed theory about abstract factory and factory method.could any one explain the difference between these two clearly?
Joined: Apr 06, 2010
Feb 23, 2012 03:08:33
There's an example in a
that might help. The main difference is that with the factory
you have one class object producing instances of multiple classes. With the abstract factory pattern you have multiple (related) factories.
subject: abstactfactory vs factory method
What is the need for a pattern like factory Pattern?
WA #1.....word association
design pattern for Strings to Objects
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013