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

What are the types of design patterns?

0 Answers  


Give me example of observer design pattern?

0 Answers  


what is the lazy design pattern?

0 Answers  


what are design patterns..?what design patterns used in .net.

1 Answers  


i have file(ps),dont know how many records are there. move half of the records to 2 files. how can we do

1 Answers   IBM, Infosys,


Contact a small, medium, and a large contract program within your organization. Interview the Technical Director or Project Engineer to identify the following information: a. Request the individual to graphically depict their development strategy? b. What factors drove them to choose the implementation strategy? c. What were some of the lessons learned from developing and implementing the strategy that would in&#64258;uence their approach next time? d. How was the V & V strategy implemented?

0 Answers  


What are actually Model,view,Controller in MVC Pattern?

2 Answers   Honeywell,


What are the advantages of thin clients?

1 Answers  


What according to you will be the next best thing in UI UX Design?

3 Answers  


What are the types of participants of the prototype design pattern you will get?

0 Answers  


What is 'good design'?

2 Answers  


What are some of your favorite designs in apps and websites?

1 Answers  


Categories