给出下列代码,哪行在编译时可能会有错误? 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 }
A.
4
B.
6
C.
7
D.
8
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】Food Shop sent a fax to Sanyi Farm to inquire about the price of tomatoes as follows: ‘100,000 kg of tomatoes is urgently needed. Reply as soon as possible.’ Upon receipt of the fax, Sanyi Farm shippe...