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

  2.         public static void main(String[] args) {
  3.                 int a[]={28,33,34,30};
  4.                 for(int i=0; i<4; i++)
  5.                         System.out.println("year 5 class "+(i+1)+" has "+a[i]+" people");
  6.         }
  7. }
複製代碼

TOP

返回列表