Difference between abstract factory pattern and factory
method pattern in .NET with example.
Answer Posted / nitin
Abstract factory pattern is used when you do not want the user to change the existing factories, instead allow him to plugin his factory class to create abstract object. Aim is to keep default framework from changing.
Factory method is used when you give the control of the entire framework to user, and he can add new methods to the factory (inorder to create new object type)
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How does session work in asp net?
Please brief not about xsd,xslt & xml?
Differentiate between structure and class.
Explain Optimization technique description?
What is the difference between a default skin and a named skin?
Why is it preferred to not use finalize for clean up?
Explain different types of Caching techniques in ASP.NET?
What are the versions of garbage collection?
Any disadvantages in Dataset and in reflection ?
What is the difference between system.stringbuilder and system.string
How can you debug your.net application?
What are the disadvantages of view state?
Is redux flux?
What are the Types of session management in ASP.NET
How do you do client-side validation in .net? How to disable validator control by client side javascript?