Factory - Interview Questions

What is Factory Design Pattern?

 FAQkey Concept

The GoF design patterns book defines Factory design pattern as follows - 'Define an interface for creating an object, but let sub-classes decide which class to instantiate. Factory method lets a class defer instantiation to sub-classes.'

 
Subscribe to our Questions

 

Design Patterns - Interview Questions

Abstract FactoryFactoryBuilderPrototypeSingletonAdapterBridgeCompositeDecoratorFacadeFlyweightProxyChain Of ResponsibilityCommandInterpreterIteratorMediatorMementoObserverStatestrategyTemplateVisitor
 
RECOMMENDED RESOURCES
Behaviorial Interview
Top resource to prepare for behaviorial and situational interview questions.

STAR Interview Example