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

What are structural design patterns?

605


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

1917


What is lexi design pattern?

708


What design pattern wrapper classes implement?

605


what are the creational design patterns

666






Why is singleton bad?

573


Can we have this pattern implemented using static class?

571


Why singleton beans are not thread safe?

567


Are you using singleton in your code?

591


Why do we need singleton pattern?

585


What are the main usage of the patterns?

628


How did you design your unit tests?What about integration tests?

1796


Why is singleton used?

625


What is factory method in design pattern?

560


What is the gang of four design pattern?

607