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
Suppose we have file(ps), dont know how many records are there. Move half of the records to 2 files. How can we do?
What is mvp design pattern?
What is a behavioral design pattern?
Is singleton a design pattern?
Contact a small, medium, and a large contract program within your organization. Interview the Technical Director or Project Engineer to identify the following information: a. Request the individual to graphically depict their development strategy? b. What factors drove them to choose the implementation strategy? c. What were some of the lessons learned from developing and implementing the strategy that would influence their approach next time? d. How was the V & V strategy implemented?
What are the languages used in the design pattern?
What are the disadvantages of singleton pattern?
What are the differences between the design patterns and the framework?
What is the executor design pattern?
What are the additional productivity features and enhancements included with Quartus II software version 6.0?
What is clean architecture?
What is the difference between factory and builder design pattern?
Can we make the reference instance non static?
Give me example of observer design pattern?
What is the difference between factory and abstract factory design pattern?