Given the following code: 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) i--; 9) } 10) } Which line might cause an error during compilation?()
- A、 line 4
- B、 line 6
- C、 line 7
- D、 line 8
正确答案:C
答案解析:有

微信扫一扫手机做题