ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories >> Software >> Software-Design >> Design-Patterns
 
 
 
Question
Design the Factory pattern and What is its application ?
 Question Submitted By :: Leossk
I also faced this Question!!     Rank Answer Posted By  
 
Answer
I think the question is on Factory Method Pattern. So I 
will go in that direction. However there is another pattern 
called the Abstract Factory Pattern which is realted to 
Factory Method Pattern.

If we have to hide the "Creation" of an object and its 
Concrete type to a client, then the tendency is to 
use "Factory Method Pattern".

Normally a factory method is a method that is part of 
an "Abstract Factory". Client calls the factory method on 
an abstract factory which is a concrete object of an 
interface whose type may or may not be known to the client, 
to get a concrete object of the interface for product whose 
concrete type may or may not be useful to the client.
 
0
Fact Pandit
 
View All Answers
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com