結果 : write a functional interface in java