結果 : how to code an if statement in java