結果 : constructor vs function in java