Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

When singleton pattern is used?

1030


What are the most commonly used design patterns?

1007


What is the difference between factory and strategy design pattern?

984


What is singleton and factory pattern?

988


What are the disadvantages of singleton pattern?

1054


What is proxy in design pattern?

984


What is clean architecture?

958


What is the use of such a class?

1220


What is the builder pattern?

1040


Explain three types of components comprise an application design?

970


How did you design your unit tests?What about integration tests?

2193


What is single tone design pattern in java?

999


What is a lazy initialization in singleton?

1087


Is bean a singleton?

930


What is the design pattern?

1024