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 is a jdbc connection pool?

520


How do I find ojdbc jar version?

508


Result set’s index starts with 0 or 1?

561


What is an encrypted internet connection?

505


How java can be connected to a database?

576






What is the role of class.forname while loading drivers?

578


What is two-phase commit in the database?

531


What is JDBC Savepoint? How to use it?

696


What is the use of jdbc api?

516


What is DML?

585


What is JDBC Batch Processing and what are it’s benefits?

519


Is java a database?

514


What is @entity in java?

538


What does the jdbc resultsetmetadata interface?

567


What is connection data?

489