返回列表 發帖
  1. public class Ch0035 {

  2.         public static void main(String[] args) {
  3.         for(int i=1; i<=10; i++)
  4.        {
  5.                if(i==5)
  6.                        return;
  7.                System.out.println(i);
  8.        }
  9.         for(int i=1; i<=10; i++){
  10.                 System.out.println(i);
  11.         }
  12.         }

  13. }
複製代碼

TOP

返回列表