結果 : how to create a list of different objects in java