定义一个接口简单的接口 poublic interface PortDemo{ String name; void printName(){ } } 好了完成了,今天的故事就到这里,大家明天见!拜拜~~