Un-Answered Questions { Design Patterns }

Write the code for a singleton class?

625


Why have we used synchronized here?

614


Give me example of chain of responsibility design pattern?

628


Are you using singleton in your code?

597


What is the difference between proxy and adapter?

613


What is the use of such a class?

673


Can we have this pattern implemented using static class?

582


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

583


Why have we declared the instance reference volatile?

547


What is the gang of four design pattern?

618


When should design patterns be used?

595


What are creational design patterns?

638


What is a behavioral design pattern?

631


what is the lazy design pattern?

613


Describe the builder design pattern

673