結果 : nested if in java w3schools