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 ?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the benefits of the proxy in the design pattern?

971


Why do we need singleton pattern?

961


what are the creational design patterns

1132


Is singleton a design pattern?

962


What is singleton design pattern in java?

1089


How do you choose a design pattern?

981


Is singleton scope thread safe?

1065


Write the code for a singleton class?

1003


Which design pattern is mvc?

1003


Quartus II software version 6.0 is available for which operating systems (OS)?

2404


What is the difference between 3 tier and n tier architecture?

1004


What is single tone design pattern in java?

996


What are the main types of concurrency design patterns?

1032


What is mvp design pattern?

1093


What are useful tools for developing and testing color schemes for web sites?

2432