隔江千里
inerface IHello {String sayHello(String name);}interface IHi {String sayHi(String name);}class ServiceImpl implements IHello, IHi {// 实现三个四个。。。n个接口都是使用逗号分隔public String sayHello(String name) {return "Hello, " + name;}public String sayHi(String name) {return "Hi, " + name;}}