Decorator Design Pattern – Simple Java Example

Sandwich.java

Loaf.java

SandwichDecorator.java

Bacon.java

Cheese.java

Starter.java