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 field variable and a local variable?
What is arrays fill in java?
What is OOP?
Why string is popular hashmap key in java?
What are the types of strings?
What is hotjava?
Is hashset ordered?
How do you remove an element from an arraylist in java?
Can we have any other return type than void for main method?
What is the point of java?
What is difference between jdk,jre and jvm?
What is classpath?