Eclipse 怎么调试 for(int i :index) ?
int[] arr = new int[] {1,2,3};
int[] index = new int[] { 5,2,3,5};
String b ="";
for(int i :index) {
b += arr [i];
}
system.out.plintln(b);
这段代码for里面怎么调试看到变量?Eclipse下
int[] arr = new int[] {1,2,3};
int[] index = new int[] { 5,2,3,5};
String b ="";
for(int i :index) {
b += arr [i];
}
system.out.plintln(b);
这段代码for里面怎么调试看到变量?Eclipse下
2018-05-02
举报