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

Why is singleton bad?

1087


What is the gang of four design pattern?

1156


Is mvc is a design pattern?

1158


Give me example of chain of responsibility design pattern?

1136


What are the categories in which the design patterns can be divided?

1206


Is bean a singleton?

1044


What is clean architecture?

1062


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

2873


What is a lazy initialization in singleton?

1193


Why singleton beans are not thread safe?

1132


What are the 23 design patterns?

1224


What is difference between function oriented design and object oriented design?

1175


4. Identify and bound the SOI’s Operating Environment.

3839


What are the examples of the behavioral design patterns?

1194


Can we make the reference instance non static?

1149