Un-Answered Questions { Design Patterns }

Write the code for a singleton class?

803


Why have we used synchronized here?

781


Give me example of chain of responsibility design pattern?

818


Are you using singleton in your code?

814


What is the difference between proxy and adapter?

796


What is the use of such a class?

908


Can we have this pattern implemented using static class?

807


What is the difference between factory and abstract factory design pattern?

760


Why have we declared the instance reference volatile?

750


What is the gang of four design pattern?

822


When should design patterns be used?

767


What are creational design patterns?

833


What is a behavioral design pattern?

812


what is the lazy design pattern?

793


Describe the builder design pattern

852