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 |
We have two methods to create methods the threads. 1. Implementing runnable interface 2. Extending to thread class and overriding run method. Among these two which one is better and why? Please explain me in detail.
What advantage does an entity bean have over a sessin bean?
what is webservices
5 Answers Consultancy, Mind Tree,
what is abstract class in Java?
Explain in detail about encapsulation with an example?
Does variable declaration allocate memory?
What are access specifiers in java ?
0 Answers Akamai Technologies,
What is runtime locatable code?
what is deadlock? : Java thread
Can we iterate through collection using for loop?
What is difference between hash mapping and hash table?
Can you call a method in a method?