【单选题】给出下列的代码,哪行在编译时可能会有错误: 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 }
【单选题】给出下列代码,哪行在编译时可能会有错误? 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...