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 is the use of repository pattern?

1060


Where should we use singleton design pattern?

1093


What is factory method in design pattern?

1055


4. Identify and bound the SOI’s Operating Environment.

3786


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

1107


Explain what are 5 common problems in the software development process?

1106


Can you explain singleton pattern?

1051


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

1076


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

2470


What is the use of design patterns?

1163


What is singleton design pattern in java?

1173


Can we make the reference instance non static?

1092


What is the factory pattern in the design pattern?

1174


What is the difference between factory and strategy design pattern?

1055


Give me example of observer design pattern?

1132