結果 : how to traverse through an arraylist in java