結果 : how to avoid creating multiple objects in java