結果 : java define method inside method