1 public class forTest{ 2 public static void main(String[] args){ 3 int count = 4; 4 for (int i = 0, j = 0(1);i<=count(2); i++,j+=3(4)) { 5 System.out.println("i="+i+"j="+j)(3);//执行顺序 6 } 7 System.out.println("退出for循环语句");//当i值不满足条件时,跳出循环体 8 } 9 10 }