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