結果 : java create list with n elements