What is design pattern ?

Answer Posted / e-mail

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.

Is This Answer Correct ?    21 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Did you use ooa/ood methodologies? Did you use design patterns?

857


What are the most important software design patterns?

835


Are you using singleton in your code?

808


Why have we declared the instance reference volatile?

745


What is a behavioral design pattern?

810


What are the most popular design patterns?

779


What are the languages used in the design pattern?

788


Hi, I have 9backlogs in btech and i am 2008 passed out,am working with an MNC from past 3 years.now, am willing to do MS, will it be any problem for me?

2876


Suppose we have file(ps), dont know how many records are there. Move half of the records to 2 files. How can we do?

783


What is the difference between factory and strategy design pattern?

760


What is the prototype design pattern?

819


What is the builder pattern?

823


Explain what are 5 common problems in the software development process?

800


Give me example of chain of responsibility design pattern?

816


What are the disadvantages of singleton pattern?

810