結果 : java declare function inside function