She refused to______the door key to the landlady until she got back her deposit.A.hand inB
She refused to______the door key to the landlady until she got back her deposit.
A.hand in
B.hand out
C.hand down
D.hand over
She refused to______the door key to the landlady until she got back her deposit.
A.hand in
B.hand out
C.hand down
D.hand over
第1题
A.ClassA
B.Compilationfails.
C.Anexceptionisthrownatline2.
D.Anexceptionisthrownatline6.
E.Thecodeexecuteswithnooutput.
第2题
3下面程序段的输出结果为()。package test;public class ClassA{ int x=20; static int y=6; public static void main(String args[]) { ClassB b=new ClassB(); b.go(10); System.out.println("x="+b.x); }}class ClassB{ int x; void go(int y) { ClassA a=new ClassA(); x=a.y; }}
A.x=10
B.x=20
C.x=6
D.编译不通过
第3题
A、classA *ptr=new classA(10); delete ptr;
B、classA *ptr=new classA[10]; delete []ptr;
C、classA *ptr=new classA(10); delete *ptr;
D、classA *ptr=new classA[10]; delete ptr;
第4题
A.classA{}
B.classA{publicA(){}}
C.classA{publicA(intx){}}
D.classZ{}classAextendsZ{voidA(){}}
第5题
A.ClassB和ClassA是一种组合关系, ClassA不应该单独存在。
B.ClassB和ClassA是一种聚合关系, ClassA不应该单独存在。
C.ClassA只能是个内部类。
D.ClassB和ClassA是一种聚合关系, ClassA可以单独存在。
第6题
A.1
B.2
C.3
D.5
第7题
A.template<classT1,classT2>classA;
B.template<classT1,typenameT2>classA;
C.template<typenameT1,classT2>classA;
D.template<typenameT1,T2>classA;
第8题
A.classA{publicA(intx){}}
B.classA{}classBextendsA{B(){}}
C.classA{A(){}}classB{publicB(){}}
D.classZ{publicZ(int){}}classAextendsZ{}
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!