結果 : java method function as parameter