Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Design the Factory pattern and What is its application ?



Design the Factory pattern and What is its application ?..

Answer / fact pandit

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.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Design Patterns Interview Questions

When should design patterns be used?

0 Answers  


When to Use a Factory Pattern?

3 Answers  


What skills do you think are necessary for a UI UX Designer?

1 Answers  


What is Color Theory?

1 Answers  


What are the most important software design patterns?

0 Answers  


What is difference between function oriented design and object oriented design?

0 Answers  


What is the use of such a class?

0 Answers  


What do you do to ensure that your design is carried out perfectly from your end?

3 Answers  


What are the 23 design patterns?

0 Answers  


What are the main usage of the patterns?

0 Answers  


When singleton pattern is used?

0 Answers  


Can we inherit singleton class?

0 Answers  


Categories