第31题:[单选题]给出下列的代码,哪行在编译时可能会有错误?
① public void modify()
{ ② int i, j, k;
③ i = 100;
④ while ( i > 0 )
{ ⑤ j = i * 2;
⑥ System.out.println (" The value of j is " + j );
⑦ k = k + 1;
⑧ }
⑨ }
A.line 4 B.line 6 C.line 7 D.line 8 参考答案:C
第36题: [单项选择]Why did they come up with this program( ). A. For making more money. B. For solving the problem with traffic. C. For helping the employed students with their schedules. D. For improving the quality of the class. 参考答案:C