public class CoffeeWithHook extends CaffeineBeverageWithHook
Constructor and Description |
---|
CoffeeWithHook() |
Modifier and Type | Method and Description |
---|---|
void |
addCondiments() |
void |
brew() |
boolean |
customerWantsCondiments() |
private java.lang.String |
getUserInput() |
boilWater, pourInCup, prepareRecipe
public CoffeeWithHook()
public void brew()
brew
in class CaffeineBeverageWithHook
public void addCondiments()
addCondiments
in class CaffeineBeverageWithHook
public boolean customerWantsCondiments()
customerWantsCondiments
in class CaffeineBeverageWithHook
private java.lang.String getUserInput()