Un-Answered Questions { Software Design }

What is the difference between adapter and facade?

633


Write the code for a singleton class?

622


Why have we used synchronized here?

614


Give me example of chain of responsibility design pattern?

625


Are you using singleton in your code?

595


What is the difference between proxy and adapter?

609


What is the use of such a class?

671


Can we have this pattern implemented using static class?

579


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

581


Why have we declared the instance reference volatile?

541


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

545


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

524


How many methods are there in the externalizable interface?

561


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

613


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

518