what are design patterns?

Answer Posted / naresh

In software engineering, a design pattern is a general
reusable solution to a commonly occurring problem in
software design. A design pattern is not a finished design
that can be transformed directly into code. It is a
description or template for how to solve a problem that can
be used in many different situations. Object-oriented
design patterns typically show relationships and
interactions between classes or objects, without specifying
the final application classes or objects that are involved.

Design patterns reside in the domain of modules and
interconnections. At a higher level there are Architectural
patterns that are larger in scope, usually describing an
overall pattern followed by an entire system.[1]


Abstract Factory
Builder
Factory Method
Prototype
Singleton
Adapter
Bridge
Composite
Facade
Flyweight
Proxy
Chain of responsibility
Command
Interpreter
Iterator
Mediator
Memento
Observer
State
Strategy
Template method
Visitor

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of JDBC drivers?

823


What is the JDBC?

770


What are the differences between setmaxrows(int) and setfetchsize(int)?

832


What does the jdbc databasemetadata interface?

752


How can we set null value in jdbc preparedstatement?

761


What are the jdbc statements?

779


What is DML?

779


What is two-phase commit in the database?

754


Explain the various types of locking system in jdbc?

687


What are the different types of interfaces in the api component?

759


What happens if we don't close the connection in jdbc?

671


Is there another way of dealing with the result set that could execute faster?

779


What is the role of jdbc drivermanager class?

833


What is the difference between execute, executeQuery, executeUpdate?

782


What is jdbc and odbc?

722