Abstract Factory vs. Factory Method


With the Factory pattern, you produce implementations (Apple, Banana, Cherry, etc.) of a particular interface — say, IFruit.

With the Abstract Factory pattern, you produce implementations of a particular Factory interface — e.g., IFruitFactory. Each of those knows how to create different kinds of fruit.

For Example: http://www.codeproject.com/Articles/28309/Design-pattern-FAQ-Part-Training

Happy Programming !!!

Jay Ganesh

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s