📅  最后修改于: 2022-03-11 14:52:31.603000             🧑  作者: Mango
import java.util.concurrent.TimeUnit
try {
TimeUnit.SECONDS.sleep(1);
}
catch (Exception e) {
System.out.println("Oops! Something went wrong!")
}