結果 : java define function inside function