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

How to check jdbc driver version in sql server?

669


What are the differences between resultset and rowset?

762


How the JDBC application works?

724


Expalin the method of calling a stored procedure from jdbc.

744


Does sql allow null values ?

753


What is jdbc connection string?

744


Is it possible to connect to multiple databases simultaneously? Using single statement can one update or extract data from multiple databases?

767


What is meant by jdbc?

688


What are the benefits of PreparedStatement over Statement?

775


What is the jdbc rowset?

758


What is execute in java?

700


How does jdbc work?

678


Does jdbc use odbc?

693


How vendor Naming registry supports JNDI?

1958


What is the use of jdbc api?

730