What is design pattern and there types?
Answers were Sorted based on User's Feedback
Answer / rsn ben
Design patterns are patterns used to manage/form/construct 'objects'.According to Gang of Four book,originally 23 design patterns are there.
Examples:
Singleton,Decorator,Template method.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / s swain
A design pattern is a well described solution to a common software problem.
Some of the benefits of using design patterns are:
Design Patterns are already defined and provides industry standard approach to solve a recurring problem, so it saves time Using design patterns promotes reusability It helps in reducing total cost of ownership (TCO) of the software product.it makes our code easy to understand and debug. It leads to faster development
Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between a checked and an unchecked exception?
Where are local variables stored?
What do u mean by variable?
How to declare unique ArrayList ?
What are the basic interfaces of java collections framework?
Which is the best way to use for String concatenation in Java?
What is the method overriding?
Print Vertical traversal of a Binary Tree.
Is it possible to compare various strings with the help of == operator?
When can an object reference be cast to an interface reference in java programming?
What is a lightweight component?
Explain the concept of hashtables?