false
true
编译失败
运行的时候有异常抛出
第1题:
A spanner is a ______.
A.cross connection line between two main fire lines
B.special wrench for the couplings in a fire hose line
C.tackle rigged to support a fire hose
D.None of the above
第2题:
现有: class Wrench f public static void main(String [] args) { Wrench w=new Wrench(); Wrench w2=new Wrench(); w2=go (w, w2); System.out.print (w2==w); } static Wrench go (Wrench wrl, Wrench wr2) { Wrench wr3=wrl; wrl=wr2; wr2=wr3; return wr3; } 结果是什么?()
第3题:
现有: 1. class Wrench f 2.public static void main(String [] args) { 3.Wrench w=new Wrench( ); Wrench w2=new Wrench( ); 4. w2=go (w, w2); 5.System.out.print (w2==w); 6. } 7.static Wrench go (Wrench wrl, Wrench wr2) { 8.Wrench wr3=wrl; wrl=wr2; wr2=wr3; 9. return wr3; 10. } 11. } 结果是什么?()
第4题:
socket wrench()
第5题:
现有: class Wrench2 { int size; public static void main(String [] args) { Wrench2 w=new Wrench2(); w.size=II; Wrench2 w2=go(w, w.size); System. out .print (w2. size); } static Wrench2 go(Wrench2 wr. int s) { S=12; return wr; } } 结果为()
第6题:
cross connection line between two main fire lines
special wrench for the couplings in a fire hose line
tackle rigged to support a fire hose
None of the above
第7题:
hi hi ouch!
ouch! howdy ouch!
hi howdy ouch!
编译失败
运行的咐候有异常抛出
第8题:
torque wrench
monkey wrench
pipe wrench
slugging wrench
第9题:
管子钳
套筒扳手
开口销
贯穿螺栓
第10题:
a micrometer
a bridge gauge
a spanner
a wrench
第11题:
a micrometer
a bowl
a feeler gauge
a wrench
第12题:
false
true
编译失败
运行的时候有异常抛出
第13题:
class Wrench { public static void main(String [] args) { Wrench w = new Wrench(); Wrench w2 = new Wrench(); w2 = go(w,w2); System.out.print(w2 == w); } static Wrench go(Wrench wr1, Wrench wr2) { Wrench wr3 = wr1; wr1 = wr2; wr2 = wr3; return wr3; } } 结果是什么?()
第14题:
现有: class Guy { String greet() { return "hi"; } } class Cowboy extends Guy { String greet() { return. "howdy";}} class Wrangler extends Cowboy { String greet() { return "orch!"; } } class Greetings2 { public static void main (String [] args) { Guy g=new Wrangler(); Guy g2=new Cowboy(); Wrangler w2=new Wrangler(); System. out .print (g.greet()+g2.greet()+w2 .greet()); } } 结果是什么?()
第15题:
pipe wrench()
第16题:
class Wrench2 { int size; public static void main(String [] args) { Wrench2 w = new Wrench2(); w.size = 9; Wrench2 w2 = go(w, w.size); System.out.print(w2.size); } static Wrench2 go(Wrench2 wr, int s) { s = 7; return wr; } } 结果为:()
第17题:
true
false
编译失败
输出不可预期
第18题:
7
9
编译失败
输出结果不可预料
第19题:
11
12
编译失败
运行时异常被抛出
第20题:
cross connection line between two main fire lines
special wrench for tightening couplings in a fire hose line
tackle rigged to support a fire hose
None of the above
第21题:
breakout wrench
makeup tongs
chain tongs
pipe spinner
第22题:
斜口钳
凿子
管钳
台钳
第23题:
false
true
编译失败
运行的时候有异常抛出
第24题:
hi hi ouch!
hi howdy ouch!
ouch! howdy ouch!
编译失败