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...

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


Please Help Members By Posting Answers For Below Questions

What is difference between inproc and outproc?

1086


What are the advantages of Web API?

1042


What symbol specifies the beginning of a query string?

871


Can we have 2 web config files?

907


What is use of <% %> in asp.net?

951


Explain the Order of events in an asp.net page?

959


How can you enable impersonation in the web.config file?

1086


To bind columns manually which tags do you need to add within the asp:datagrid ?

918


What is the main differences between asp and asp.net?

1004


i develop a web application and i gave security setting i.e autherization and athentication now it work properly on my local system , now question is ,is this security setting ie autherization and athentication which i gave in web.config will it be enough strong to secure my application on internet or i have to use some 3rd party tool or software to get security .if yes --how ? if no--what is the alternate?

1913


What is the parent class of all web server control?

975


Explain the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc

922


Define secured sockets layer.

897


What is boxing and unboxing in asp.net?

1021


How to count the number of objects present in a web page? How to count the number of radio buttons in a web page?

1039