请问我的main方法抛出了Exception异常,为什么Thread.sleep()函数还是爆红?
用trycatch可以解决,但是为什么不能抛出异常
用trycatch可以解决,因为你没有抛线程中断具体异常