What are the design patterns you know explain?



What are the design patterns you know explain?..

Answer / Kriyanshu Saraswat

Design patterns are reusable solutions to common problems in software design. Some well-known examples include:
1. Singleton: Ensures a class has only one instance and provides a global point of access.
2. Factory: Defers instantiation of objects until runtime, allowing for flexible object creation.
3. Observer: Allows multiple objects to be notified when an event occurs in another object.
4. Strategy: Defines a family of algorithms, encapsulates each one, and makes them interchangeable at runtime.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Design Patterns Interview Questions

What are the benefits of the proxy in the design pattern?

1 Answers  


What is Architecture and what is design? Are they related?

3 Answers   Accenture, IBM,


What skills do you think are necessary for a UI UX Designer?

1 Answers  


Write the code for a singleton class?

1 Answers  


Which design pattern is mostly used in net?

1 Answers  


2. Create your own definition of a system. Based on the “system” definitions a. Identify your viewpoint of shortcomings in the definitions. b. Provide rationale as to why you believe that your definition overcomes those shortcomings. c. From an historical perspective, identify three precedented systems that were replaced by unprecedented systems.

1 Answers   IBM,


What do you mean by Design Thinking?

4 Answers  


How might prototyping be used as part of the SDLC?

3 Answers   Apple, ASD Lab,


Explain Inline Style Sheet?

1 Answers  


What is the use of repository pattern?

1 Answers  


How can we design/implement singleton object?

3 Answers   HP,


What is difference between GoF and J2EE patterns?

1 Answers   Accenture,


Categories