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

Is singleton an anti pattern?

0 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.

0 Answers   IBM,


how many types of cookies in php

1 Answers  


What do you do to ensure that your design is carried out perfectly from your end?

3 Answers  


How can you conduct UX evaluation?

3 Answers  


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

5 Answers   TCS,


What is the use of repository pattern?

0 Answers  


Dd you useuse OOA/OOD methodologies?did you use design patterns?

1 Answers   HP,


5.Develop an entity relationships diagram that identifies physical entity relationships.

0 Answers  


What is the builder pattern?

0 Answers  


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

2 Answers   ABC,


What are structural design patterns?

0 Answers  


Categories