結果 : java initialize arraylist with n elements