Explain the singleton, facade, or handle class design
pattern?

Answers were Sorted based on User's Feedback



Explain the singleton, facade, or handle class design pattern?..

Answer / 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

Explain the singleton, facade, or handle class design pattern?..

Answer / abere a .yimame

Design patterns are higher level abstractions that define
common software problems and solutions to these
problems.Their major importance: they enable software
developers to use best software practice , expertise and
reusablity of good experiance with out ever doing the same
problem agian and again.

Is This Answer Correct ?    1 Yes 13 No

Post New Answer

More Design Patterns Interview Questions

What is Software development life cycle....??

5 Answers   TCS,


What is the difference between builder and composite?

1 Answers  


What are the Design Patterns you know

4 Answers  


What is onion architecture?

1 Answers  


What is software 'quality'?

2 Answers  


Is dependency injection a design pattern?

1 Answers  


What are the types of design patterns?

1 Answers  


Did you use ooa/ood methodologies? Did you use design patterns?

0 Answers  


what is the difference between the Adapter Pattern and Proxy Patterns?its seems both are almost similar?

1 Answers   RBS,


Which design patterns have you used in your project ?

1 Answers   QuestPond,


What is the difference between factory and builder design pattern?

1 Answers  


Design the Factory pattern and What is its application ?

1 Answers   HP,


Categories