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

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

1921


What are the differences between the design patterns and the framework?

600


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?

2696


Give me example of observer design pattern?

632


Explain three types of components comprise an application design?

582






What non-visual coding tools are available for web design?

2121


Is mvc is a design pattern?

593


Is singleton an anti pattern?

583


Give me example of chain of responsibility design pattern?

623


What is viper architecture?

612


What is factory method in design pattern?

563


5.Develop an entity relationships diagram that identifies physical entity relationships.

2447


When should design patterns be used?

589


Is dependency injection a design pattern?

586


Is singleton a design pattern?

599