結果 : java declare function as parameter