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+"" 怎么理解? } } } }
字符串拼接