[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fVE5u6mxegzKLMhOESh-QXAn13ptucwUnKYTeXiDu9zU":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":24,"type":25},[],"2025-05-13 14:48:56",187604710,[8,9,10,11],"protected void speakHello()","public abstract static void cry()","int f()","abstract float g()",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},13,"f4e971416dff0f3fa3b389f4b3a0d0d6","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F9b92bc5760888eabda05e8163b0130ac.jpg","面向对象语言（JAVA）","7f10e1a4117f4ba3ac89783387b8763a","第六章单元检测","下列接口中标注的(A,B,C,D)中,哪两个是错误的? interface Takecare { protected void speakHello(); \u002F\u002FA public abstract static void cry(); \u002F\u002FB int f(); \u002F\u002FC abstract float g(); \u002F\u002FD }",[21,26,37,47,56,66,76,83,92,99],{"answer":22,"createTime":5,"id":6,"options":23,"question":19,"source":24,"type":25},[],[8,9,10,11],"v1",1,{"answer":27,"createTime":28,"id":29,"options":30,"question":35,"source":24,"type":36},[],"2025-05-13 14:48:58",187604711,[31,32,33,34],"一个类最多可以实现两个接口","如果一个抽象类实现某个接口,那么它必须要重写接口中的全部方法","如果一个非抽象类实现某个接口,那么它可以只重写接口中的部分方法","允许接口中只有一个抽象方法","下列哪个叙述是正确的",0,{"answer":38,"createTime":39,"id":40,"options":41,"question":46,"source":24,"type":36},[],"2025-05-13 14:49:04",187604712,[42,43,44,45],"public int f(){return 100+M;}","int f(){return 100;}","public double f(){return 2.6;}","public abstract int f()","将下列(A,B,C,D)哪个代码替换下列程序中的【代码】不会导致编译错误. interface Com { int M = 200; int f(); } class ImpCom implements Com { 【代码】 }",{"answer":48,"createTime":39,"id":49,"options":50,"question":55,"source":24,"type":36},[],187604714,[51,52,53,54],"class","private","extends","public","定义类头时,不可能用到的关键字是( )",{"answer":57,"createTime":58,"id":59,"options":60,"question":65,"source":24,"type":36},[],"2025-05-13 14:49:05",187604715,[61,62,63,64],"一个类只能有一个对象","一个对象可以属于几个不同的类","对象是类的一个具体实例(实体)","一个类中不可以有本类的对象","以下关于类和对象叙述正确的是( )",{"answer":67,"createTime":68,"id":69,"options":70,"question":75,"source":24,"type":36},[],"2025-05-13 14:49:06",187604717,[71,72,73,74],"float A a","public A a=A( )","A a=new int( )","static A a=new A( )","设 A为已定义的类名,下列声明A类的对象a的语句中正确的是( )",{"answer":77,"createTime":68,"id":78,"options":79,"question":82,"source":24,"type":36},[],187604718,[52,80,81,54],"protected","private或者protected","在使用interface 声明一个接口时,只可以使用哪个修饰符修饰该接口? 或者",{"answer":84,"createTime":68,"id":85,"options":86,"question":91,"source":24,"type":36},[],187604720,[87,88,89,90],"public class A extends Object{&hellip;&hellip; }","final class B{&hellip;&hellip;}","class C{&hellip;&hellip;}","void class D{&hellip;&hellip;}","下列类的定义,错误的是( )",{"answer":93,"createTime":94,"id":95,"options":96,"question":98,"source":24,"type":36},[],"2025-05-13 14:49:07",187604721,[54,53,97,51],"interface","定义一个接口时,下列哪个关键字用不到",{"answer":100,"createTime":94,"id":101,"options":102,"question":107,"source":24,"type":36},[],187604722,[103,104,105,106],"构造函数的函数名与类同名","在一个类中,只能定义一个构造函数","创建对象时构造函数自动被调用","构造函数没有类型","下列说法中错误的是( )"]