Explain the singleton, facade, or handle class design
pattern?
Answers were Sorted based on User's Feedback
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 |
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 |
Give the syntax of css?
What are the most popular design patterns?
When should design patterns be used?
What is the difference between builder and composite?
How do you ensure quality of code ?
Explain what are 5 common problems in the software development process?
Can we use an equated value as operands for an MVC ? Reason for the same.
write 5 best test cases like any password?password should be mixed case with atlest one number or special characters?
What is the executor design pattern?
What is the S/W model used in the project. What are the optimization techniques used. Give examples ?
2 Answers Infosys, Symphony, Wipro,
Are you using singleton in your code?
Can we inherit singleton class?