public static boolean syso(char j){
System.out.println(j);
return true;
}
int i=0;
for(syso('a');syso('b')&i<2;syso('c')){
i++;
}
运行结果:
a
b
c
b
c
b
public static boolean syso(char j){
System.out.println(j);
return true;
}
int i=0;
for(syso('a');syso('b')&i<2;syso('c')){
i++;
}
运行结果:
a
b
c
b
c
b