結果 : how to exit a void function in java