public class ConcreteProductB implements Product { @Override public void operation() { System.out.println("ConcreteProductB operation"); } }