普通for循环的方法:
for (int i=1;i<=4;i++){
System.out.println("*****")
}
当i 大于4停止循环
普通for循环,历遍数组的方法:
for (int i=0;i<arry.length;i++){
System.out.println(arry[i]);
增强for循环,历遍数组的方法:
for (i : arry){
System.out.println(i)