結果 : java first n elements of array