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 |
How to reverse a string in java?
Can a class be declared as static?
What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statement?
What is mean by UML? what is the use? where we are using?
What is use of set in java?
What is pangram in java?
What is java thread dump, how can we get java thread dump of a program?
Name the types of 'priority'?
What is final int?
What is an Applet ?
Explain the difference between call by refrence and call by value?
Can you extend more than one interface?