【单选题】给出下列的代码,哪行在编译时可能会有错误? ① 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 ⑧ } ⑨ }
【单选题】给出下列的代码,哪行在编译时可能会有错误: 1 { 2 int i, j, k; 3 i = 100; 4 while(i > 0){ 5 j = i * 2; 6 System.out.println(" The value of j is " + j); 7 k = k + 1; 8 } 9 }
【单选题】给出下列代码,哪行在编译时可能会有错误? 1 public void modify(){ 2 int i, j, k; 3 i = 100; 4 while ( i > 0 ){ 5 j = i * 2; 6 System.out.println (" The value of j is " + j ); 7 k = k + 1; 8 } 9...