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

When should design patterns be used?

603


4. Identify and bound the SOI’s Operating Environment.

3358


Is oop a design pattern?

600


Where should we use singleton design pattern?

555


What are the most important software design patterns?

631






What is the gang of four design pattern?

626


What are the types of design patterns?

587


Can we make the reference instance non static?

557


What are the SDLC phases you have invloved ?

2196


What is aop design?

586


Is singleton scope thread safe?

634


Explain three types of components comprise an application design?

592


Is singleton an anti pattern?

591


Which design patterns have you used in your project ?

585


What are the categories in which the design patterns can be divided?

625