public class CalculateOutput{
public static void main(String []args){
int sum = 0;
for(int i = 0, j = 0; i < 5 & j < 5; ++i, j = (1+i)) {
sum += i;
}
System.out.println("Output is :: " + sum);
}
}
输出为:输出为:: 6
有人可以解释一下for循环中的按位AND操作条件如何在每次迭代中执行吗?