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 repository pattern?
when performing a functional test on a phone calculator,if pressing on a button does not function what do i do next
What is a lazy initialization in singleton?
Is oop a design pattern?
Describe the builder design pattern
Is mvc is a design pattern?
Is bean a singleton?
Write the code for a singleton class?
What are the most commonly used design patterns?
Which design patterns have you used in your project ?
What is lexi design pattern?
What are structural design patterns?
What is singleton and factory pattern?
Why do we need singleton pattern?
Did you use ooa/ood methodologies? Did you use design patterns?