結果 : java for loop get current index