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 |
What are the types of design patterns?
Give me example of observer design pattern?
what is the lazy design pattern?
what are design patterns..?what design patterns used in .net.
i have file(ps),dont know how many records are there. move half of the records to 2 files. how can we do
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 influence their approach next time? d. How was the V & V strategy implemented?
What are actually Model,view,Controller in MVC Pattern?
What are the advantages of thin clients?
What according to you will be the next best thing in UI UX Design?
What are the types of participants of the prototype design pattern you will get?
What is 'good design'?
What are some of your favorite designs in apps and websites?