結果 : how to store heterogeneous elements in arraylist in java