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
Can we use an equated value as operands for an MVC ? Reason for the same.
What is proxy in design pattern?
What are the 23 design patterns?
Are you using singleton in your code?
What is the difference between architecture and design?
What is difference between function oriented design and object oriented design?
What is the difference between adapter and facade?
Is singleton scope thread safe?
What is the use of design patterns?
What are the types of participants of the prototype design pattern you will get?
Give me example of chain of responsibility design pattern?
What is the behavioral design pattern?
What is the difference between factory and strategy design pattern?
What are the main usage of the patterns?
What are the types of the proxy design you will get in the design pattern?