現在讓我們以Java語言宣告一個陣列,存放五個學生的成績(假設為整數):. int[] score = new int[5]; ... for(int i=0;i<SIZE;i++) { // do something for data[i]; }.
確定! 回上一頁