結果 : can we create method inside constructor in java