結果 : how to make a nested if statement in java