public class Client { public static void main(String[] args) { Context a = new Context(new ConcreteStrategyA()); a.contextInterface(); Context b = new Context(new ConcreteStrategyB()); b.contextInterface(); Context c = new Context(new ConcreteStrategyC()); c.contextInterface(); } }