例如,这是恒定的还是每次通过都会改变?
for(int i = 0; i < InputStream.readInt(); i++)
最佳答案
for(int i = 0; // executed once
i < InputStream.readInt(); // executed before each loop iteration
i++ // executed after each loop iteration
) {
....
}