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, prepareRecipepublic CoffeeWithHook()
public void brew()
brew in class CaffeineBeverageWithHookpublic void addCondiments()
addCondiments in class CaffeineBeverageWithHookpublic boolean customerWantsCondiments()
customerWantsCondiments in class CaffeineBeverageWithHookprivate java.lang.String getUserInput()