package DecoratorPatternDemo; public interface Beverage { String getDescription(); double getCost(); }
package DecoratorPatternDemo; public interface CondimentDecorator extends Beverage { }
package DecoratorPatternDemo; public interface Beverage { String getDescription(); double getCost(); }
package DecoratorPatternDemo; public interface CondimentDecorator extends Beverage { }