摘要: package day_10; //创建接口Port (在包中按ALT+Insert,将class改为interface) public interface Port { void fly(); //接口中方法默认是用public abstract修饰 } package day_10; public class Bird implements Port { @Over... 阅读全文
posted @ 2019-07-30 14:16 石乐智先生 阅读(1247) 评论(0) 推荐(0) 编辑