继承Thread类 覆写 run()方法无法throws 异常

67 阅读1分钟
由于Thread的父类的run方法,没有进行throws声明异常,子类覆写的run方法只能进行try catch捕获异常