Un-Answered Questions { Software Design }

What is the difference between adapter and facade?

626


Write the code for a singleton class?

618


Why have we used synchronized here?

604


Give me example of chain of responsibility design pattern?

619


Are you using singleton in your code?

589


What is the difference between proxy and adapter?

607


What is the use of such a class?

668


Can we have this pattern implemented using static class?

571


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

573


Why have we declared the instance reference volatile?

537


How many methods do u implement if implement the serializable interface?

534


What does the “abstract” keyword mean in front of a method? A class?

515


How many methods are there in the externalizable interface?

552


What interface must an object implement before it can be written to a stream as an object?

607


What does it mean that a method or class is abstract?

511