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
What is the use of such a class?
What are the most popular design patterns?
What is proxy in design pattern?
Can we use an equated value as operands for an MVC ? Reason for the same.
Is singleton a design pattern?
Write the code for a singleton class?
What is the executor design pattern?
What are structural design patterns?
What is architecture and what is design?
What are the types of design patterns?
Describe the builder design pattern
What are the types of the proxy design you will get in the design pattern?
What is the difference between 3 tier and n tier architecture?
Why have we declared the instance reference volatile?
When singleton pattern is used?