【简答题】下列代码哪几行会出错?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; I--; } }
【单选题】下列代码哪几行会出错?() public void modify() { int I, j, k; I = 100; while (I > 0) { j = I * 2; stem.out.println(" The value of j is " + j); k = k + 1; I--; } }
【单选题】下列代码哪几行会出错 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; //java 中数值必须初始化 I--; } }