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 final variable?
Can we declare a class as static?
What is your platform’s default character encoding?
What is the purpose of extern variable?
What is a singleton puppy?
Can I import same package/class twice?
Which sorting algorithm is best in java?
What is the relationship between clipping and repainting under awt?
INTERVIEW QUESTION FOR ANDROID
Is java code slower than native code?
How do you create a method in java?
Where the CardLayout is used?