結果 : java define function in interface