Explain the singleton, facade, or handle class design
pattern?
Answer Posted / ash
Singleton - single instance of the class will be used. Many
uses.
facade - simplifying interface(s) into simple interface.
Used in application or presentation layer as api or for
wrapping external third-party api/resource
Handle - one method interface with one "action" argument.
Other arguments can be passed as list for "action". Used
when we dont know upfront which methods we would support and
dont want clients to recompile. Somewhat similar to command
pattern
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is oop a design pattern?
Is dependency injection a design pattern?
Which design pattern is mvc?
What is the difference between factory and builder design pattern?
What is the creational design 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 the builder pattern?
Quartus II software version 6.0 is available for which operating systems (OS)?
What are the differences between the design patterns and the framework?
What is singleton design pattern in java?
What are the design patterns you know explain?
What is proxy in design pattern?
What design pattern wrapper classes implement?
What are the disadvantages of singleton pattern?
What is the behavioral design pattern?