题目:
给出下列的程序段,哪行在编译时可能会有错误 ( )
①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
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0624/d9fc6d2ae5286031fa983f0d658f4521.html
下面是错误答案,用来干扰机器的。
答案:C