网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
10.classInner{
11.privateintx;
12.publicvoidsetX(intx){this.x=x;}
13.publicintgetX(){returnx;}
14.}
15.
16.classOuter{
17.privateInnery;
18.publicvoidsetY(Innery){this.y=y;}
19.publicInnergetY(){returny;}
20.}
21.
22.publicclassGamma{
23.publicstaticvoidmain(String[]args){
24.Outero=newOuter();
25.Inneri=newInner();
26.intn=10;
27.i.setX(n);
28.o.setY(i);
29.//insertcodehere
30.System.out.println(o.getY().getX());
31.}
32.}
Whichthreecodefragments,addedindividuallyatline29,producetheoutput100?()
参考答案
更多 “ 10.classInner{11.privateintx;12.publicvoidsetX(intx){this.x=x;}13.publicintgetX(){returnx;}14.}15.16.classOuter{17.privateInnery;18.publicvoidsetY(Innery){this.y=y;}19.publicInnergetY(){returny;}20.}21.22.publicclassGamma{23.publicstaticvoidmain(String[]args){24.Outero=newOuter();25.Inneri=newInner();26.intn=10;27.i.setX(n);28.o.setY(i);29.//insertcodehere30.System.out.println(o.getY().getX());31.}32.}Whichthreecodefragments,addedindividuallyatline29,producetheoutput100?() ” 相关考题
考题
10.publicclassFooimplementsjava.io.Serializable{11.privateintx;12.publicintgetX(){returnx;}12.publicFoo(intx){this.x=x;}13.privatevoidwriteObject(ObjectOutputStreams)14.throwsIOException{15.//insertcodehere16.}17.}Whichcodefragment,insertedatline15,willallowFooobjectstobecorrectlyserializedanddeserialized?()A.s.writeInt(x);B.s.serialize(x);C.s.writeObject(x);D.s.defaultWriteObject();
考题
Whichstatementscanbeinsertedattheindicatedpositioninthefollowingcodetomaketheprogramwrite1onthestandardoutputwhenrun?()publicclassQ4a39{inta=1;intb=1;intc=1;classInner{inta=2;intget(){intc=3;//insertstatementherereturnc;}}Q4a39(){Inneri=newInner();System.out.println(i.get());}publicstaticvoidmain(Stringargs[]){newQ4a39();}}
考题
下列哪一组码是正交的?()
A.(1,-1,-1,1)和(1,-1,-1,1);B.(1,-1,-1,1)和(1,1,1,1);C.(1,-1,-1,1)和(1,-1,-1,-1);D.(1,-1,-1,1)和(-1,1,1,-1)
考题
2、A、B、C三个站点采用CDMA技术进行通信,A、B要向C发送数据,设A的码片序列为+1,-1,-1,+1,+1,+1,+1,-1。则B可以选用的码片序列为A.-1,-1,-1,+1,-1,+1,+1,+1B.-1,+1,-1,-1,-1,+1,+1,+1C.-1,+1,-1,+1,-1,+1,-1,+1D.-1,+1,-1,+1,-1,+1,+1,+1
考题
A、B、C三个站点采用CDMA技术进行通信,A、B要向C发送数据,设A的码片序列为+1,-1,-1,+1,+1,+1,+1,-1。则B可以选用的码片序列为A.-1,-1,-1,+1,-1,+1,+1,+1B.-1,+1,-1,-1,-1,+1,+1,+1C.-1,+1,-1,+1,-1,+1,-1,+1D.-1,+1,-1,+1,-1,+1,+1,+1
考题
已知HDB3码为 ,则对应的译码输出为11000010110000000010111。A.000+1-100-1+10-1+1-1+1-1000-1+10-1+1B.+1-1000-1+10-1+1000+1-100-1+10-1+1-1C.+1+1000-1+10-1+1000+1-100-1+10-1+1-1D.+1-1000-1+10-1+1000+1-100+1+10-1+1-1E.00+1-10+1-1+1-1000-1+1-1+1000-1+1+10
考题
共有4个站进行码分多址通信。现收到这样的码片序列S:(-3 -1 -1 +1 +3 +1 +1 -1)。发送数据1的是()A.(-1-1-1+1+1-1+1+1)B.(-1-1+1-1+1+1+1-1)C.(-1+1-1+1+1+1-1-1)D.(-1+1-1-1-1-1+1-1)
考题
1、已知HDB3码为 ,则对应的译码输出为11000010110000000010111。A.000+1-100-1+10-1+1-1+1-1000-1+10-1+1B.+1-1000-1+10-1+1000+1-100-1+10-1+1-1C.+1+1000-1+10-1+1000+1-100-1+10-1+1-1D.+1-1000-1+10-1+1000+1-100+1+10-1+1-1E.00+1-10+1-1+1-1000-1+1-1+1000-1+1+10
考题
四个站点进行码分多址CMDA通信,其序列分别为A(-1 -1 -1 +1 +1 -1 +1 +1)、B(-1 -1 +1 -1 +1 +1 +1 -1)、C(-1 +1 -1 +1 +1 +1 -1 -1)、D(-1 +1 -1 -1 -1 -1 +1 -1)。现收到序列(-1 +1 -3 +1 -1 -3 +1 +1),请问哪些站点发送了消息A.AB.BC.CD.D
热门标签
最新试卷