"Defines the skeleton of the algorithm , and defers some implementation to the sub classes."
the above example makeDrink() calls
- addWater
- addFruit
- addIce
the addFruit implementation is left to the sub classes orange and apple juice makers
the method makeDrink is made final so that the steps of making the juice is not changed

Please may you explain this example
ReplyDeleteThank you ...