結果 : how to return value in if else java