循环问题???
public class Test{ public static void main(String[] args){ for (int i=1;i<=20;i++){ if (i%5==0){ System.out.println(i); }else{ System.out.print(i+"");// i+"" 怎么理解? } } } }
public class Test{ public static void main(String[] args){ for (int i=1;i<=20;i++){ if (i%5==0){ System.out.println(i); }else{ System.out.print(i+"");// i+"" 怎么理解? } } } }
2015-09-09
举报