Made code more modular

master
Hammy 4 years ago
parent 5faafbeda2
commit 1e0d93fa6a

@ -14,5 +14,5 @@ public class Latte extends Coffee{
}
@Override
public void steamMilk() { System.out.println("Steaming Almond Milk...."); }
public void steamMilk() { System.out.println("Steaming " + getMilk() + "...."); }
}

Loading…
Cancel
Save