回答数
4
浏览数
100
2岁半的猫
implements是实现某一个接口Interface是接口的定义
悠闲小猫
implements 是实现借口的关键词!而interface 是将一个类定义成借口的关键词!
迷路的豆豆
直接上代码:public interface HelloInterface(){ void hello();}public class HelloImpl implements HelloInterface{ void hello(){ System.out.println("Hello World"); }}HelloImpl这个类是实现HelloInterface的。
霸气甫爷
接口 [jiē kǒu]基本翻译portconnectorinterface
优质英语培训问答知识库