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

Answer Posted / mathur

Design patterns are mainly of three types
Creational
Structural
Behavioral

Creational patterns are ones that create objects for you,
rather than having you instantiate objects directly. This
gives your program more flexibility in deciding which
objects need to be created for a given case.

Structural patterns help you compose groups of objects into
larger structures, such as complex user interfaces or
accounting data.

Behavioral patterns help you define the communication
between objects in your system and how the flow is
controlled in a complex program.

Is This Answer Correct ?    148 Yes 26 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of repository pattern?

584


when performing a functional test on a phone calculator,if pressing on a button does not function what do i do next

6851


What is a lazy initialization in singleton?

602


Is oop a design pattern?

592


Describe the builder design pattern

673






Is mvc is a design pattern?

597


Is bean a singleton?

572


Write the code for a singleton class?

624


What are the most commonly used design patterns?

606


Which design patterns have you used in your project ?

574


What is lexi design pattern?

716


What are structural design patterns?

607


What is singleton and factory pattern?

582


Why do we need singleton pattern?

593


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

642