classAimplementsrunable(2.int&ensp 1.classAimplementsrunable(2.inti;3.publicvoidrun()(4.try(5.thread.sleep(5000);6.i=10;7.)catch(InterruptedExceptione){}8.)9.)10.11.publicclassTest{12.publicstaticvoidmain(stringargs)(13.try(14.Aa=newA();15.Threadt=newThread(a);16.t.start();17.18.intj=a.i;19.20.)catch(Exceptione){}21.)22.)Whichstatementalline17willensurethatj=10atline19?()

classAimplementsrunable(2.int&ensp

1.classAimplementsrunable(

2.inti;

3.publicvoidrun()(

4.try(

5.thread.sleep(5000);

6.i=10;

7.)catch(InterruptedExceptione){}

8.)

9.)

10.

11.publicclassTest{

12.publicstaticvoidmain(stringargs)(

13.try(

14.Aa=newA();

15.Threadt=newThread(a);

16.t.start();

17.

18.intj=a.i;

19.

20.)catch(Exceptione){}

21.)

22.)

Whichstatementalline17willensurethatj=10atline19?()


相关考题: