Q:

给出下列的代码,哪行在编译时可能会有错误? ① 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 .line4


B .line6


C .line7


D .line8

对0人提供帮助

正确答案:C