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 jdbc odbc driver?

575


How can we move the cursor in a scrollable result set?

549


How a database driver can be loaded with jdbc 4.0 / java 6?

493


RowSetInternal caller and returns void. What can I do in the readData method?

553


What is jdbc? Describe the steps needed to execute a sql query using jdbc.

503






Can we have foreign key reference to a non primary key column ?

531


What is JDBC RowSet? What are different types of RowSet?

550


Write an sql to find all records having all upper case alphanumeric characters in a field ?

531


How does JDBC API helps us in achieving loose coupling between Java Program and JDBC Drivers API?

621


What is a jdbc connection pool?

510


What is jdbc thin client?

505


What is jdbc thin client in oracle?

493


Explain about column name and getter method?

597


What is addbatch jdbc?

535


How to set the attribute concurrency in resultset?

504