public class ConcreteFactory extends ConcreteNetObj implements Factory { public PingServer makePingServer() throws NetException { return new ConcretePingServer(); } }