結果 : print all elements in arraylist java without loop