public void modify(){ int l,j,k; l=100; while(l>0){ j = l*2; System.out.println(j); int a = k+1;//此处会出现编译错误;k没有被初始化。 l--; } }