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 |
Explain oops concepts in detail?
Difference between Choice and a List?
What is Hash Code in Java?
What are selection structures?
What modifiers are used with an inner class which is a member of an outerclass?
Scenario: There are 1 to 100 numbers. Each number should be keep in the each column like from A column to Z column ie 1 to 26. From 27 to 52 should be in 2nd row in the excel sheet. This has to be continue till 100. How do you write Java program and what are various methods.
Which command from the jdk compiles a java program?
Can we have this () and super () together?
Is integer immutable in java?
What is the main method java?
Do you know why doesn't the java library use a randomized version of quicksort?
How do you sort objects in java?