結果 : java define function as variable