Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
public abstract class Decorator extends Coffee {
protected Coffee coffee;
public Decorator(Coffee coffee) { = coffee;
public abstract int price();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment