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 |
3. Discuss the concept of system transition strategy
Is oop a design pattern?
What are the most important software design patterns?
What are the advantages of thin clients?
If i make my selection in State Dropdown list, i would the City and ZipCode dropdown list to be automatically reupdated based on the State i select.(This to avoid the user select a City or Zipcode that does not correspond to the State previously selected.)
Can we make the reference instance non static?
If a client does not like a design what will your approach be?
How to test the quality of design ?
What are sequence diagrams, collaboration diagrams and difference between them ?
8 Answers ACET, CT, CTS, Infosys,
Can we have this pattern implemented using static class?
Tell us about some of the projects that have been your favorite.
What are the types of design patterns?