[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fpXY2p-ZNHc9yLR5tWJ-R9uL8hDE5CqaRWaJpSog8EgI":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":24,"type":25},[],"2025-06-18 14:24:30",203756437,[8,9,10,11],"1","2","3","无限个",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},10,"7e9761367fb53358a6097d3c03264d5d","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002Fdfa7a3284d886ebd2e4475f37f645f80.jpg","Java程序设计","work_42539295","接口 【课后测试】","一个类可以实现多少个接口",[21,26,36,45,54,64,72,78,84,89],{"answer":22,"createTime":5,"id":6,"options":23,"question":19,"source":24,"type":25},[],[8,9,10,11],"v1",0,{"answer":27,"createTime":28,"id":29,"options":30,"question":35,"source":24,"type":25},[],"2025-06-18 14:24:31",203756447,[31,32,33,34],"可以","不可以","只能继承一个接口","只能继承抽象类","接口可以继承其他接口吗",{"answer":37,"createTime":28,"id":38,"options":39,"question":44,"source":24,"type":25},[],203756464,[40,41,42,43],"默认方法","静态方法","私有方法","以上都是","Java 8中引入的接口新特性是什么",{"answer":46,"createTime":28,"id":47,"options":48,"question":53,"source":24,"type":25},[],203756495,[49,50,51,52],"class Document implements Printable, Drawable { }","class Document extends Printable, Drawable { }","class Document implements Printable; implements Drawable { }","class Document implements Printable extends Drawable { }( )","若有接口 Printable 和 Drawable,一个类 Document 要同时实现这两个接口,正确的代码是( )",{"answer":55,"createTime":56,"id":57,"options":58,"question":63,"source":24,"type":25},[],"2025-06-18 14:24:32",203756515,[59,60,61,62],"class Bird implements Flyable { void fly() { System.out.println(&quot;鸟在飞&quot;); } }","class Bird implements Flyable { public void fly() { System.out.println(&quot;鸟在飞&quot;); } }","class Bird extends Flyable { public void fly() { System.out.println(&quot;鸟在飞&quot;); } }","class Bird implements Flyable { protected void fly() { System.out.println(&quot;鸟在飞&quot;); } }","若有接口 Flyable,其中有方法 void fly(),以下哪个类正确实现了该接口( )",{"answer":65,"createTime":56,"id":66,"options":67,"question":70,"source":24,"type":71},[],203756543,[68,69],"正确","错误","接口可以继承多个接口.( )",3,{"answer":73,"createTime":74,"id":75,"options":76,"question":77,"source":24,"type":71},[],"2025-06-18 14:24:33",203756562,[68,69],"接口中的私有方法只能在接口内部调用",{"answer":79,"createTime":80,"id":81,"options":82,"question":83,"source":24,"type":71},[],"2025-06-18 14:24:34",203756577,[68,69],"接口中的静态方法可以被实现类重写",{"answer":85,"createTime":80,"id":86,"options":87,"question":88,"source":24,"type":71},[],203756586,[68,69],"接口中的默认方法可以被实现类重写",{"answer":90,"createTime":80,"id":91,"options":92,"question":93,"source":24,"type":71},[],203756591,[68,69],"接口中的方法默认是抽象的.( )"]