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

what is tempplate pattern

Answer Posted / naresh tuhania

Intent
Define the skeleton of an algorithm in an operation,
deferring some steps to
subclasses. Template Method lets subclasses redefine certain
steps of an
algorithm without changing the algorithm's structure.
Motivation
Sometimes you want to specify the order of operations that a
method uses,
but allow subclasses to provide their own implementations of
some of these
operations

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the class in java?

1015


Differentiate between vector and array list.

1067


Write a program to reverse a number in java?

1091


How can you set an applet’s height and width as a percentage?

931


What is meant by main method?

1064


What are loops in java? What are three types of loops?

1033


What data type is a string?

1014


What is locale in java?

1020


Can one thread block the other thread?

1030


Explain how hashmap works?

1064


What happens if an exception is throws from an object's constructor?

1133


How to create packages in java?

949


What is anonymous inner class?

1083


What is null data type?

1101


Is array serializable java?

987