现有:5.classOrder2implementsRunnable{6.publicvoidrun(){7. for(intx-o;x4;x++){8. try{Thread.sleep(100);)catch(Exceptione){}9.System.out.print(r);10.}}11.publicstaticvoidmain(string[]args){12.Threadt=newThread(neworder2());13.t.start();14.for(intx=0;x4;x++){15.//insertcodehere16.System.out.print(m);17.}}}哪一个插入到第15行,最有可能产生输出rmrmrmrm?()
现有:
5.classOrder2implementsRunnable{
6.publicvoidrun(){
7. for(intx-o;x<4;x++){
8. try{Thread.sleep(100);)catch(Exceptione){}
9.System.out.print("r");
10.}}
11.publicstaticvoidmain(string[]args){
12.Threadt=newThread(neworder2());
13.t.start();
14.for(intx=0;x<4;x++){
15.//insertcodehere
16.System.out.print("m");
17.}}}
哪一个插入到第15行,最有可能产生输出rmrmrmrm?()
相关考题:
5.classOrder2implementsRunnable{6.publicvoidrun(){7.for(intx=0;x〈4;x++){8.try{Thread.sleep(100);}catch(Exceptione){}9.System.out.print(r);10.}}11.publicstaticvoidmain(String[]args){12.Threadt=newThread(newOrder2());13.t.start();14.for(intx=0;x〈4;x++){15.//insertcodehere16.System.out.print(m);17.}}}哪一个插入到第15行,最有可能产生输出rmrmrmrm?()A.Thread.sleep(1);B.Thread.sleep(100);C.Thread.sleep(1000);D.try{Thread.sleep(100);}catch(Exceptione){}
【单选题】下列情况中,()属于第一种无形磨损。A.出现了效率更高的同种设备,使现有设备贬值B.由于生产率提高,生产同种设备的社会必要劳动减少,使现有设备贬值C.现有设备生产精度下降,使现有设备贬值D.现有设备生产效率下降,使现有设备贬值