Skip to content

Instantly share code, notes, and snippets.

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