user image

Preeti Tripathi

Job Interview Skills
English
2 years ago

Question 384. Whats The Difference Between Abstract Factory Pattern And Factory Pattern?

user image

Abhishek Mishra

2 years ago

In an abstract factory design, a framework is provided for creating sub-components that inherit from a common component. In .NET, this is achieved by creating classes that implement a common interface or a set of interfaces, where the interface comprises of the generic method declarations that are passed on to the sub-components. TNote that not just interfaces, but even abstract classes can provide the platform of creating an application based on the abstract factory pattern.

Recent Doubts

Close [x]