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
Is special character in java?
Explain about exception propagation?
What is final modifier?
Name container classes in java programming?
what are the disadvantages of indexes in oracle?
Why constructor has no return type?
What is static class
Name few "optional" classes introduced with java 8 ?
Why deletion in linkedlist is fast than arraylist?
What is the significance of listiterator?
Where are the card layouts used?
What is an 8 bit word?
Which collection does not allow duplicates in java?
What is difference between add() and addelement() in vector?
What is sorting algorithm in java?