What are the different types of Design Patterns and Explain
them?

Answer Posted / pandu

There are three basic design patterns:

1) structural
2) creational
3) behavioral
Structural patterns: generally deal with relationships
between entities, making it easier for these entities to
work together.

Creational patterns: provide instantiation mechanisms,
making it easier to create objects in a way that suits the
situation.

Behavioral patterns: are used in communications between
entities and make it easier and more flexible for these
entities to communicate.

Is This Answer Correct ?    10 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is singleton an anti pattern?

587


Shall we use abstract classes or interfaces in policy / strategy design pattern?

605


Is dependency injection a design pattern?

591


What are creational design patterns?

636


What are the SDLC phases you have invloved ?

2190






What is the executor design pattern?

734


What is the difference between architecture and design?

589


What is difference between function oriented design and object oriented design?

598


What design pattern wrapper classes implement?

619


Where should we use singleton design pattern?

549


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?

2699


Is oop a design pattern?

592


Is singleton bean thread safe?

564


Quartus II software version 6.0 is available for which operating systems (OS)?

1923


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

620