题目内容
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?()
查看答案
搜索结果不匹配?点我反馈
更多问题