001package headfirst.templatemethod.simplebarista;
002
003public class Tea {
004
005        void prepareRecipe() {
006                boilWater();
007                steepTeaBag();
008                pourInCup();
009                addLemon();
010        }
011
012        public void boilWater() {
013                System.out.println("Boiling water");
014        }
015
016        public void steepTeaBag() {
017                System.out.println("Steeping the tea");
018        }
019
020        public void addLemon() {
021                System.out.println("Adding Lemon");
022        }
023
024        public void pourInCup() {
025                System.out.println("Pouring into cup");
026        }
027}