package learn.simple_composite; public class Leaf implements Component { @Override public void operation() { System.out.println("Leaf operation" + this); } }