Singleton - Interview Questions

What is Singleton Design Pattern?

 FAQkey Concept

The GoF design patterns book defines Singleton design pattern as follows - 'Ensure a class only has one instance, and provide a global point of access to it.'

What is Flyweight Design Pattern?

 FAQkey Concept

The GoF design patterns book defines Flyweight design pattern as follows - 'Use sharing to support large number of fine-grained objects efficiently.'

What is Chain Of Responsibility Design Pattern?

 FAQkey Concept

The GoF design patterns book defines Chain Of Responsibility design pattern as follows - 'Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects and pass the request along the chain until an object handles it.'

 
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