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

Can we use an equated value as operands for an MVC ? Reason for the same.

2201


What is proxy in design pattern?

764


What are the 23 design patterns?

895


Are you using singleton in your code?

786


What is the difference between architecture and design?

777






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

766


What is the difference between adapter and facade?

817


Is singleton scope thread safe?

817


What is the use of design patterns?

755


What are the types of participants of the prototype design pattern you will get?

762


Give me example of chain of responsibility design pattern?

797


What is the behavioral design pattern?

866


What is the difference between factory and strategy design pattern?

741


What are the main usage of the patterns?

807


What are the types of the proxy design you will get in the design pattern?

729