[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fAmxxpkBzE_nlV-aoUQk9ietqw3Osw2Ar3315VsyFECw":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":30,"type":31},[],"2023-05-21 14:15:43",21771015,[8,9,10,11],"构造函数的函数名与类同名","在一个类中,只能定义一个构造函数","创建对象时构造函数自动被调用","构造函数没有类型",{"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）","50aed916a88c4b85a80bb52f0ad5dd92","第六章单元检测","下列说法中错误的是( )",[21,32,41,50,59,68,75,84,90,93],{"answer":22,"createTime":5,"id":23,"options":24,"question":29,"source":30,"type":31},[],21771007,[25,26,27,28],"一个类最多可以实现两个接口","如果一个抽象类实现某个接口,那么它必须要重写接口中的全部方法","如果一个非抽象类实现某个接口,那么它可以只重写接口中的部分方法","允许接口中只有一个抽象方法","下列哪个叙述是正确的","v1",0,{"answer":33,"createTime":5,"id":34,"options":35,"question":40,"source":30,"type":31},[],21771008,[36,37,38,39],"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":42,"createTime":5,"id":43,"options":44,"question":49,"source":30,"type":31},[],21771009,[45,46,47,48],"class","private","extends","public","定义类头时,不可能用到的关键字是( )",{"answer":51,"createTime":5,"id":52,"options":53,"question":58,"source":30,"type":31},[],21771010,[54,55,56,57],"一个类只能有一个对象","一个对象可以属于几个不同的类","对象是类的一个具体实例(实体)","一个类中不可以有本类的对象","以下关于类和对象叙述正确的是( )",{"answer":60,"createTime":5,"id":61,"options":62,"question":67,"source":30,"type":31},[],21771011,[63,64,65,66],"float A a","public A a=A( )","A a=new int( )","static A a=new A( )","设 A为已定义的类名,下列声明A类的对象a的语句中正确的是( )",{"answer":69,"createTime":5,"id":70,"options":71,"question":74,"source":30,"type":31},[],21771012,[46,72,73,48],"protected","private或者protected","在使用interface 声明一个接口时,只可以使用哪个修饰符修饰该接口?或者",{"answer":76,"createTime":5,"id":77,"options":78,"question":83,"source":30,"type":31},[],21771013,[79,80,81,82],"public class A extends Object{&hellip;&hellip; }","final class B{&hellip;&hellip;}","class C{&hellip;&hellip;}","void class D{&hellip;&hellip;}","下列类的定义,错误的是( )",{"answer":85,"createTime":5,"id":86,"options":87,"question":89,"source":30,"type":31},[],21771014,[48,47,88,45],"interface","定义一个接口时,下列哪个关键字用不到",{"answer":91,"createTime":5,"id":6,"options":92,"question":19,"source":30,"type":31},[],[8,9,10,11],{"answer":94,"createTime":5,"id":95,"options":96,"question":101,"source":30,"type":31},[],21771016,[97,98,99,100],"class x","class x extends y","class x implements y1,y2","public class x extends x1,x2","下列类定义中,不正确的是A. B.class x extends y C.class x implements y1,y2 D .public class x extends x1,x2"]